summary refs log tree commit diff
path: root/pkgs/development/python-modules/sharkiq/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/sharkiq/default.nix')
-rw-r--r--pkgs/development/python-modules/sharkiq/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sharkiq/default.nix b/pkgs/development/python-modules/sharkiq/default.nix
new file mode 100644
index 00000000000..e41205fba73
--- /dev/null
+++ b/pkgs/development/python-modules/sharkiq/default.nix
@@ -0,0 +1,33 @@
+{ lib
+, aiohttp
+, buildPythonPackage
+, fetchPypi
+, requests
+}:
+
+buildPythonPackage rec {
+  pname = "sharkiq";
+  version = "0.0.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "e5efb0ad13a66cf6a097da5c128347ef7bd0b2abe53a8ca65cbc847ec1190c8b";
+  };
+
+  propagatedBuildInputs = [
+    aiohttp
+    requests
+  ];
+
+  # Project has no tests
+  doCheck = false;
+
+  pythonImportsCheck = [ "sharkiq" ];
+
+  meta = with lib; {
+    description = "Python API for Shark IQ robots";
+    homepage = "https://github.com/JeffResc/sharkiq";
+    license = licenses.mit;
+    maintainers = with maintainers; [ fab ];
+  };
+}