mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
pythonPackages.zm-py: init at 0.3.0
This commit is contained in:
parent
be445a9074
commit
a7f0a58c4b
29
pkgs/development/python-modules/zm-py/default.nix
Normal file
29
pkgs/development/python-modules/zm-py/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, fetchPypi, buildPythonPackage, isPy3k
|
||||
, pytest, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zm-py";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hq83svprd21r74palhs3xq15g34135349y4lrgr7c76i3f37j2q";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
PYTHONPATH="./zoneminder:$PYTHONPATH" pytest
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A loose python wrapper around the ZoneMinder REST API";
|
||||
homepage = https://github.com/rohankapoorcom/zm-py;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
};
|
||||
}
|
@ -5159,6 +5159,8 @@ in {
|
||||
inherit python;
|
||||
})).python;
|
||||
|
||||
zm-py = callPackage ../development/python-modules/zm-py { };
|
||||
|
||||
rfc7464 = callPackage ../development/python-modules/rfc7464 { };
|
||||
|
||||
foundationdb51 = callPackage ../servers/foundationdb/python.nix { foundationdb = pkgs.foundationdb51; };
|
||||
|
Loading…
Reference in New Issue
Block a user