git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.frigidaire: init at 0.16
commit0ceef669f7b2f2b9180c8bee949a198f50f9140d authorFabian Affolter <mail@fabian-affolter.ch> dateSat 2 Oct 2021, 18:11 (5 years ago) parentca2ece2
2 files changed+47
pkgs/development/python-modules/frigidaire/default.nix+45 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/frigidaire/default.nixnew file+45
@@ -0,0 +1,45 @@
1+{ lib
2+, buildPythonPackage
3+, certifi
4+, chardet
5+, fetchFromGitHub
6+, idna
7+, pythonOlder
8+, requests
9+, urllib3
10+}:
11+
12+buildPythonPackage rec {
13+ pname = "frigidaire";
14+ version = "0.16";
15+ format = "setuptools";
16+
17+ disabled = pythonOlder "3.8";
18+
19+ src = fetchFromGitHub {
20+ owner = "bm1549";
21+ repo = pname;
22+ rev = version;
23+ sha256 = "1yzwzvlxz28rhnwhwsn37v7l7fxikzr4j7m293db9452w340p0zl";
24+ };
25+
26+ propagatedBuildInputs = [
27+ certifi
28+ chardet
29+ idna
30+ requests
31+ urllib3
32+ ];
33+
34+ # Project has no tests
35+ doCheck = false;
36+
37+ pythonImportsCheck = [ "frigidaire" ];
38+
39+ meta = with lib; {
40+ description = "Python API for the Frigidaire devices";
41+ homepage = "https://github.com/bm1549/frigidaire";
42+ license = with licenses; [ mit ];
43+ maintainers = with maintainers; [ fab ];
44+ };
45+}
pkgs/top-level/python-packages.nix+2
@@ -2821,6 +2821,8 @@ in {
28212821
28222822 freezegun = callPackage ../development/python-modules/freezegun { };
28232823
2824+ frigidaire = callPackage ../development/python-modules/frigidaire { };
2825+
28242826 frilouz = callPackage ../development/python-modules/frilouz { };
28252827
28262828 fritzconnection = callPackage ../development/python-modules/fritzconnection { };