diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/panacotta/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/panacotta/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/panacotta/default.nix b/nixpkgs/pkgs/development/python-modules/panacotta/default.nix new file mode 100644 index 000000000000..efaee8a42168 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/panacotta/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +}: + +buildPythonPackage rec { + pname = "panacotta"; + version = "0.1"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "u1f35c"; + repo = "python-panacotta"; + rev = "panacotta-${version}"; + sha256 = "0v2fa18n50iy18n22klkgjral728iplj6yk3b6hjkzas5dk9wd9c"; + }; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ + "panacotta" + ]; + + meta = with lib; { + description = "Python API for controlling Panasonic Blu-Ray players"; + homepage = "https://github.com/u1f35c/python-panacotta"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ fab ]; + }; +} |