Merge pull request #139600 from fabaff/lupupy

python3Packages.lupupy: init at 0.0.21
This commit is contained in:
Fabian Affolter 2021-09-27 09:34:29 +02:00 committed by GitHub
commit 92357f5e0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 42 additions and 1 deletions

View file

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, colorlog
, demjson
, fetchPypi
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "lupupy";
version = "0.0.21";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "0cpamb1fp84psiqm7xr156zi4f2fv2wijbjjyk6w87z8fl2aw8xc";
};
propagatedBuildInputs = [
colorlog
demjson
requests
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "lupupy" ];
meta = with lib; {
description = "Python module to control Lupusec alarm control panels";
homepage = "https://github.com/majuss/lupupy";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -478,7 +478,7 @@
"lovelace" = ps: with ps; [ ];
"luci" = ps: with ps; [ openwrt-luci-rpc ];
"luftdaten" = ps: with ps; [ luftdaten ];
"lupusec" = ps: with ps; [ ]; # missing inputs: lupupy
"lupusec" = ps: with ps; [ lupupy ];
"lutron" = ps: with ps; [ pylutron ];
"lutron_caseta" = ps: with ps; [ aiolip pylutron-caseta ];
"lw12wifi" = ps: with ps; [ ]; # missing inputs: lw12

View file

@ -4384,6 +4384,8 @@ in {
lupa = callPackage ../development/python-modules/lupa { };
lupupy = callPackage ../development/python-modules/lupupy { };
lxml = callPackage ../development/python-modules/lxml {
inherit (pkgs) libxml2 libxslt zlib;
};