1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 16:46:09 +00:00

Merge pull request #146591 from fabaff/lc7001

python3Packages.lc7001: init at 1.0.3
This commit is contained in:
Thiago Kenji Okada 2021-11-20 01:45:25 -03:00 committed by GitHub
commit 91ca6f467e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ lib
, buildPythonPackage
, cryptography
, fetchPypi
, pythonOlder
, poetry-core
}:
buildPythonPackage rec {
pname = "lc7001";
version = "1.0.3";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "NgnszlgmeUnfWs9onnboFRz3c4OibsNaZHjDINvoMPc=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
cryptography
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"lc7001"
];
meta = with lib; {
description = "Python module for interacting with Legrand LC7001";
homepage = "https://github.com/rtyle/lc7001";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -4250,6 +4250,8 @@ in {
lazy-object-proxy = callPackage ../development/python-modules/lazy-object-proxy { };
lc7001 = callPackage ../development/python-modules/lc7001 { };
ldap = callPackage ../development/python-modules/ldap {
inherit (pkgs) openldap cyrus_sasl;
};