Files
nixpkgs/pkgs/development/python-modules/events/default.nix
Ben Siraphob f82dc8ebe9 pkgs/development: fix typos
Assisted-by: Claude Code (claude-opus-5)
2026-08-02 15:56:57 -07:00

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 = [ ];
};
}