summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-04-09 17:03:10 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-04-09 17:03:10 +0200
commit027c28b18a2a3a7fc2f92a2a7a6b0eb1e226f17c (patch)
tree2cd818617c0c1f9a2a7d64f1596df62d6fbd9d82 /pkgs
parent41d8ec87b2429177dcc053977f225a2979271057 (diff)
downloadnixpkgs-027c28b18a2a3a7fc2f92a2a7a6b0eb1e226f17c.tar
nixpkgs-027c28b18a2a3a7fc2f92a2a7a6b0eb1e226f17c.tar.gz
nixpkgs-027c28b18a2a3a7fc2f92a2a7a6b0eb1e226f17c.tar.bz2
nixpkgs-027c28b18a2a3a7fc2f92a2a7a6b0eb1e226f17c.tar.lz
nixpkgs-027c28b18a2a3a7fc2f92a2a7a6b0eb1e226f17c.tar.xz
nixpkgs-027c28b18a2a3a7fc2f92a2a7a6b0eb1e226f17c.tar.zst
nixpkgs-027c28b18a2a3a7fc2f92a2a7a6b0eb1e226f17c.zip
python3Packages.pyintesishome: init at 1.7.7
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/pyintesishome/default.nix32
-rw-r--r--pkgs/top-level/python-packages.nix2
2 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyintesishome/default.nix b/pkgs/development/python-modules/pyintesishome/default.nix
new file mode 100644
index 00000000000..87ed0234729
--- /dev/null
+++ b/pkgs/development/python-modules/pyintesishome/default.nix
@@ -0,0 +1,32 @@
+{ lib
+, aiohttp
+, buildPythonPackage
+, fetchFromGitHub
+}:
+
+buildPythonPackage rec {
+  pname = "pyintesishome";
+  version = "1.7.7";
+
+  src = fetchFromGitHub {
+    owner = "jnimmo";
+    repo = "pyIntesisHome";
+    rev = version;
+    sha256 = "1wjh6bib6bg9rf4q9z6dlrf3gncj859hz4i20a9w06jci7b2yaaz";
+  };
+
+  propagatedBuildInputs = [
+    aiohttp
+  ];
+
+  # Project has no tests
+  doCheck = false;
+  pythonImportsCheck = [ "pyintesishome" ];
+
+  meta = with lib; {
+    description = "Python interface for IntesisHome devices";
+    homepage = "https://github.com/jnimmo/pyIntesisHome";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ fab ];
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 9010d78e57c..78cf0a62c16 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -5863,6 +5863,8 @@ in {
 
   pyinsteon = callPackage ../development/python-modules/pyinsteon { };
 
+  pyintesishome = callPackage ../development/python-modules/pyintesishome { };
+
   pyipp = callPackage ../development/python-modules/pyipp { };
 
   pyiqvia = callPackage ../development/python-modules/pyiqvia { };