about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyfttt
diff options
context:
space:
mode:
authorPeter Hoeg <peter@hoeg.com>2018-04-27 14:52:19 +0800
committerPeter Hoeg <peter@hoeg.com>2018-11-12 20:55:33 +0800
commitff795bd45fa0ad6f40d3606c604c471da6f78ea7 (patch)
tree28b9d0f6a9a7e9afd3c4dd48b21dbee5bb8d6126 /pkgs/development/python-modules/pyfttt
parent6141939d6e0a77c84905efd560c03c3032164ef1 (diff)
pythonPackages.pyfttt: init at 0.3.2
Diffstat (limited to 'pkgs/development/python-modules/pyfttt')
-rw-r--r--pkgs/development/python-modules/pyfttt/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyfttt/default.nix b/pkgs/development/python-modules/pyfttt/default.nix
new file mode 100644
index 0000000000000..44d6679e47c3c
--- /dev/null
+++ b/pkgs/development/python-modules/pyfttt/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, buildPythonPackage, fetchPypi
+, requests }:
+
+buildPythonPackage rec {
+  pname = "pyfttt";
+  version = "0.3.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "10iq7c9c832ssl2xrvf62xf7znfvqzax6sq8ppsibq6wpb8dlnj5";
+  };
+
+  propagatedBuildInputs = [ requests ];
+
+  # tests need a server to run against
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    description = "Package for sending events to the IFTTT Webhooks Channel";
+    homepage = https://github.com/briandconnelly/pyfttt;
+    maintainers = with maintainers; [ peterhoeg ];
+    license = licenses.bsd2;
+  };
+}