1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, asynctest 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "aionotify"; 10 version = "0.2.0"; 11 12 src = fetchFromGitHub { 13 owner = "rbarrois"; 14 repo = "aionotify"; 15 rev = "v${version}"; 16 sha256 = "1sk9i8czxgsbrswsf1nlb4c82vgnlzi8zrvrxdip92w2z8hqh43y"; 17 }; 18 19 disabled = pythonOlder "3.5"; 20 21 checkInputs = [ 22 asynctest 23 ]; 24 25 meta = with lib; { 26 homepage = "https://github.com/rbarrois/aionotify"; 27 description = "Simple, asyncio-based inotify library for Python"; 28 license = with lib.licenses; [ bsd2 ]; 29 platforms = platforms.linux; 30 maintainers = with lib.maintainers; [ thiagokokada ]; 31 }; 32}