python3Packages.pypng: init at 0.0.21
This commit is contained in:
parent
55b00e72d4
commit
96ba8a65a1
29
pkgs/development/python-modules/pypng/default.nix
Normal file
29
pkgs/development/python-modules/pypng/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pypng";
|
||||
version = "0.0.21";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "drj11";
|
||||
repo = "pypng";
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "sha256-JU1GCSTm2s6Kczn6aRcF5DizPJVpizNtnAMJxTBi9vo=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "png" ];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure Python library for PNG image encoding/decoding";
|
||||
homepage = "https://github.com/drj11/pypng";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
};
|
||||
}
|
@ -7424,6 +7424,8 @@ in {
|
||||
inherit (pkgs) jq;
|
||||
};
|
||||
|
||||
pypng = callPackage ../development/python-modules/pypng { };
|
||||
|
||||
phonemizer = callPackage ../development/python-modules/phonemizer { };
|
||||
|
||||
pyopencl = callPackage ../development/python-modules/pyopencl {
|
||||
|
Loading…
Reference in New Issue
Block a user