Subject: [PATCH 2/2] gnu: Add python-aionotify

From: Lars-Dominik Braun <[email-masked]>
Date: Mon, 13 Jan 2020 10:27:39 +0100

* gnu/packages/python-xyz.scm (python-aionotify): New variable
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 21d7b21132..890bec328f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17313,3 +17313,26 @@ libraries")
       "The package asynctest is built on top of the standard unittest module
 and cuts down boilerplate code when testing libraries for asyncio")
     (license license:asl2.0)))
+
+(define-public python-aionotify
+  (package
+    (name "python-aionotify")
+    (version "0.2.0")
+    (source
+     (origin
+       ;; Source tarball on PyPi lacks tests
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/rbarrois/aionotify")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1sk9i8czxgsbrswsf1nlb4c82vgnlzi8zrvrxdip92w2z8hqh43y"))))
+    (build-system python-build-system)
+    (native-inputs `(("python-asynctest" ,python-asynctest)))
+    (home-page
+      "https://github.com/rbarrois/aionotify")
+    (synopsis "Asyncio-powered inotify library")
+    (description "aionotify is a simple, asyncio-based inotify library")
+    (license license:bsd-3)))
+
-- 
2.20.1