python3Packages.pyenvisalink: init at 4.1
This commit is contained in:
parent
a451d399d3
commit
0b78980d67
36
pkgs/development/python-modules/pyenvisalink/default.nix
Normal file
36
pkgs/development/python-modules/pyenvisalink/default.nix
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
{ lib
|
||||||
|
, async-timeout
|
||||||
|
, buildPythonPackage
|
||||||
|
, colorlog
|
||||||
|
, fetchPypi
|
||||||
|
, pyserial
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyenvisalink";
|
||||||
|
version = "4.1";
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1h30gmmynihmjkd107skk2gpi210b6gfdahwqmydyj5isxrvzmq2";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
async-timeout
|
||||||
|
colorlog
|
||||||
|
pyserial
|
||||||
|
];
|
||||||
|
|
||||||
|
# Tests require an Envisalink device
|
||||||
|
doCheck = false;
|
||||||
|
pythonImportsCheck = [ "pyenvisalink" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python interface for Envisalink 2DS/3 Alarm API";
|
||||||
|
homepage = "https://github.com/Cinntax/pyenvisalink";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
@ -5716,6 +5716,8 @@ in {
|
|||||||
inherit (pkgs) enchant2;
|
inherit (pkgs) enchant2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
pyenvisalink = callPackage ../development/python-modules/pyenvisalink { };
|
||||||
|
|
||||||
pyepsg = callPackage ../development/python-modules/pyepsg { };
|
pyepsg = callPackage ../development/python-modules/pyepsg { };
|
||||||
|
|
||||||
pyerfa = callPackage ../development/python-modules/pyerfa { };
|
pyerfa = callPackage ../development/python-modules/pyerfa { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user