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:
commit
91ca6f467e
42
pkgs/development/python-modules/lc7001/default.nix
Normal file
42
pkgs/development/python-modules/lc7001/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue