diff --git a/pkgs/development/python-modules/aionotify/default.nix b/pkgs/development/python-modules/aionotify/default.nix new file mode 100644 index 000000000000..93177733dedc --- /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 f58b678f52d3..26f94af1bd8e 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 { };