From 9a43f55bb02dc76b2f977dca0c75997111d0b1f0 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Mon, 21 Sep 2020 13:00:13 -0300 Subject: [PATCH] python3Package.aionotify: init at 0.2.0 --- .../python-modules/aionotify/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/aionotify/default.nix diff --git a/pkgs/development/python-modules/aionotify/default.nix b/pkgs/development/python-modules/aionotify/default.nix new file mode 100644 index 00000000000..93177733ded --- /dev/null +++ b/pkgs/development/python-modules/aionotify/default.nix @@ -0,0 +1,32 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, asynctest +, pythonOlder +}: + +buildPythonPackage rec { + pname = "aionotify"; + version = "0.2.0"; + + src = fetchFromGitHub { + owner = "rbarrois"; + repo = "aionotify"; + rev = "v${version}"; + sha256 = "1sk9i8czxgsbrswsf1nlb4c82vgnlzi8zrvrxdip92w2z8hqh43y"; + }; + + disabled = pythonOlder "3.5"; + + checkInputs = [ + asynctest + ]; + + meta = with lib; { + homepage = "https://github.com/rbarrois/aionotify"; + description = "Simple, asyncio-based inotify library for Python"; + license = with lib.licenses; [ bsd2 ]; + platforms = platforms.linux; + maintainers = with lib.maintainers; [ thiagokokada ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f58b678f52d..26f94af1bd8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -228,6 +228,8 @@ in { aiomysql = callPackage ../development/python-modules/aiomysql { }; + aionotify = callPackage ../development/python-modules/aionotify { }; + aioprocessing = callPackage ../development/python-modules/aioprocessing { }; aioredis = callPackage ../development/python-modules/aioredis { };