Merge pull request #140297 from fabaff/frigidaire
This commit is contained in:
commit
fa20572bba
45
pkgs/development/python-modules/frigidaire/default.nix
Normal file
45
pkgs/development/python-modules/frigidaire/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, certifi
|
||||||
|
, chardet
|
||||||
|
, fetchFromGitHub
|
||||||
|
, idna
|
||||||
|
, pythonOlder
|
||||||
|
, requests
|
||||||
|
, urllib3
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "frigidaire";
|
||||||
|
version = "0.16";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bm1549";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1yzwzvlxz28rhnwhwsn37v7l7fxikzr4j7m293db9452w340p0zl";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
certifi
|
||||||
|
chardet
|
||||||
|
idna
|
||||||
|
requests
|
||||||
|
urllib3
|
||||||
|
];
|
||||||
|
|
||||||
|
# Project has no tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "frigidaire" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python API for the Frigidaire devices";
|
||||||
|
homepage = "https://github.com/bm1549/frigidaire";
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2823,6 +2823,8 @@ in {
|
||||||
|
|
||||||
freezegun = callPackage ../development/python-modules/freezegun { };
|
freezegun = callPackage ../development/python-modules/freezegun { };
|
||||||
|
|
||||||
|
frigidaire = callPackage ../development/python-modules/frigidaire { };
|
||||||
|
|
||||||
frilouz = callPackage ../development/python-modules/frilouz { };
|
frilouz = callPackage ../development/python-modules/frilouz { };
|
||||||
|
|
||||||
fritzconnection = callPackage ../development/python-modules/fritzconnection { };
|
fritzconnection = callPackage ../development/python-modules/fritzconnection { };
|
||||||
|
|
Loading…
Reference in a new issue