about summary refs log tree commit diff
path: root/pkgs/development/python-modules/apprise/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/apprise/default.nix')
-rw-r--r--pkgs/development/python-modules/apprise/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/apprise/default.nix b/pkgs/development/python-modules/apprise/default.nix
new file mode 100644
index 000000000000..632600a8fe34
--- /dev/null
+++ b/pkgs/development/python-modules/apprise/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi
+, Babel, decorator, requests, requests_oauthlib, oauthlib, urllib3, six, click, markdown, pyyaml
+, pytestrunner, coverage, flake8, mock, pytest, pytestcov, tox
+}:
+
+buildPythonPackage rec {
+  pname = "apprise";
+  version = "0.7.7";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "c3c7922f7b80107620f541a6c16435485e7045771b3ecfb998deacee0eb90753";
+  };
+
+  nativeBuildInputs = [ Babel ];
+
+  propagatedBuildInputs = [
+    decorator requests requests_oauthlib oauthlib urllib3 six click markdown pyyaml
+  ];
+
+  checkInputs = [
+    pytestrunner coverage flake8 mock pytest pytestcov tox
+  ];
+
+  meta = with lib; {
+    homepage = "https://github.com/caronc/apprise";
+    description = "Push Notifications that work with just about every platform!";
+    license = licenses.mit;
+    maintainers = [ maintainers.marsam ];
+  };
+}