nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 725 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "events"; 10 version = "0.5"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "pyeve"; 15 repo = "events"; 16 tag = "v${version}"; 17 hash = "sha256-GGhIKHbJ31IN0Uoe689X9V/MZvtseE47qx2CmM4MYUs="; 18 }; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 pythonImportsCheck = [ "events" ]; 23 24 enabledTestPaths = [ "events/tests/tests.py" ]; 25 26 meta = { 27 description = "Bringing the elegance of C# EventHanlder to Python"; 28 homepage = "https://events.readthedocs.org"; 29 changelog = "https://github.com/pyeve/events/blob/v0.5/CHANGES"; 30 license = lib.licenses.bsd3; 31 maintainers = [ ]; 32 }; 33}