diff options
| author | nixpkgs-ci[bot] <190413589+nixpkgs-ci[bot]@users.noreply.github.com> | 2025-08-11 00:24:16 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-11 00:24:16 +0000 |
| commit | ef3238a84cc5d5b60de2aec6ecc7d434c8da1b5c (patch) | |
| tree | 5605011b7d6dad28bac39254aa1488cadddac7c3 /pkgs/development/python-modules/pypjlink2/default.nix | |
| parent | haskellPackages.cabal2nix-unstable: 2025-06-14 -> 2025-08-10 (diff) | |
| parent | balena-cli: 22.1.5 -> 22.2.4 (#432566) (diff) | |
| download | nixpkgs-ef3238a84cc5d5b60de2aec6ecc7d434c8da1b5c.tar.gz | |
Merge b1b0d690fbb0e4a2fa029ab625a3b1646487fee1 into haskell-updatesorigin/haskell-updates
Diffstat (limited to 'pkgs/development/python-modules/pypjlink2/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/pypjlink2/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pypjlink2/default.nix b/pkgs/development/python-modules/pypjlink2/default.nix new file mode 100644 index 000000000000..30d9e3c4d2a2 --- /dev/null +++ b/pkgs/development/python-modules/pypjlink2/default.nix @@ -0,0 +1,45 @@ +{ + lib, + buildPythonPackage, + fetchFromGitHub, + appdirs, + pytestCheckHook, + setuptools, +}: + +buildPythonPackage rec { + pname = "pypjlink2"; + version = "1.2.1"; + pyproject = true; + + src = fetchFromGitHub { + owner = "benoitlouy"; + repo = "pypjlink"; + tag = "v${version}"; + hash = "sha256-0RVI9DX5JaVWntSu5du5SU45NC70TZJyVrvMuVR7grA="; + }; + + build-system = [ + setuptools + ]; + + dependencies = [ + appdirs + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "pypjlink" + ]; + + meta = { + description = "Python implementation of the PJLink protocol for controlling digital projectors"; + homepage = "https://github.com/benoitlouy/pypjlink"; + changelog = "https://github.com/benoitlouy/pypjlink/releases/tag/v${version}"; + license = lib.licenses.asl20; + maintainers = [ lib.maintainers.jamiemagee ]; + }; +} |
