mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-30 04:04:53 +00:00
34 lines
725 B
Nix
34 lines
725 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "events";
|
|
version = "0.5";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pyeve";
|
|
repo = "events";
|
|
tag = "v${version}";
|
|
hash = "sha256-GGhIKHbJ31IN0Uoe689X9V/MZvtseE47qx2CmM4MYUs=";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "events" ];
|
|
|
|
enabledTestPaths = [ "events/tests/tests.py" ];
|
|
|
|
meta = {
|
|
description = "Bringing the elegance of C# EventHandler to Python";
|
|
homepage = "https://events.readthedocs.org";
|
|
changelog = "https://github.com/pyeve/events/blob/v0.5/CHANGES";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ ];
|
|
};
|
|
}
|