about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-21 18:05:06 +0100
committerGitHub <noreply@github.com>2021-01-21 18:05:06 +0100
commit4825212f164661afa1cc122fae870d95b4673aab (patch)
tree7e38ccfd7b3f0e269d0e8fccda7a4c9f60db117a /pkgs/development/python-modules
parentd775ed2d55787e10826096f047d1b2f662fd54d3 (diff)
parent2ab5b854ad4ea5f0e9cd1b68b986a8fb852a2bd6 (diff)
downloadnixlib-4825212f164661afa1cc122fae870d95b4673aab.tar
nixlib-4825212f164661afa1cc122fae870d95b4673aab.tar.gz
nixlib-4825212f164661afa1cc122fae870d95b4673aab.tar.bz2
nixlib-4825212f164661afa1cc122fae870d95b4673aab.tar.lz
nixlib-4825212f164661afa1cc122fae870d95b4673aab.tar.xz
nixlib-4825212f164661afa1cc122fae870d95b4673aab.tar.zst
nixlib-4825212f164661afa1cc122fae870d95b4673aab.zip
Merge pull request #110363 from fabaff/vsure
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/vsure/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/vsure/default.nix b/pkgs/development/python-modules/vsure/default.nix
new file mode 100644
index 000000000000..578578a21b17
--- /dev/null
+++ b/pkgs/development/python-modules/vsure/default.nix
@@ -0,0 +1,28 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, requests
+}:
+
+buildPythonPackage rec {
+  pname = "vsure";
+  version = "1.6.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1lsr0wl1dwbzpn68ww348yk6v42bw89nrghz5gjsimrr428zw6qn";
+  };
+
+  propagatedBuildInputs = [ requests ];
+
+  # Project has no tests
+  doCheck = false;
+  pythonImportsCheck = [ "verisure" ];
+
+  meta = with lib; {
+    description = "Python library for working with verisure devices";
+    homepage = "https://github.com/persandstrom/python-verisure";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ fab ];
+  };
+}