python3Packages.segno: init at 1.5.2
This commit is contained in:
parent
5837cc7d69
commit
1646a144f4
34
pkgs/development/python-modules/segno/default.nix
Normal file
34
pkgs/development/python-modules/segno/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, pypng
|
||||||
|
, pyzbar
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "segno";
|
||||||
|
version = "1.5.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "heuer";
|
||||||
|
repo = "segno";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-+OEXG5OvrZ5Ft7IO/7zodf+SgiRF+frwjltrBENNnHo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pypng
|
||||||
|
pyzbar
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "segno" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "QR Code and Micro QR Code encoder";
|
||||||
|
homepage = "https://github.com/heuer/segno/";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ phaer ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -9570,6 +9570,8 @@ in {
|
||||||
|
|
||||||
segments = callPackage ../development/python-modules/segments { };
|
segments = callPackage ../development/python-modules/segments { };
|
||||||
|
|
||||||
|
segno = callPackage ../development/python-modules/segno { };
|
||||||
|
|
||||||
segyio = toPythonModule (callPackage ../development/python-modules/segyio {
|
segyio = toPythonModule (callPackage ../development/python-modules/segyio {
|
||||||
inherit (pkgs) cmake ninja;
|
inherit (pkgs) cmake ninja;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue