python311Packages.events: 0.4 -> 0.5
Diff: https://github.com/pyeve/events/compare/refs/tags/v0.4...v0.5 Changelog: https://github.com/pyeve/events/blob/v0.5/CHANGES
This commit is contained in:
parent
540e170aad
commit
183d3269e8
|
@ -1,17 +1,41 @@
|
|||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Events";
|
||||
version = "0.4";
|
||||
pname = "events";
|
||||
version = "0.5";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "01d9dd2a061f908d74a89fa5c8f07baa694f02a2a5974983663faaf7a97180f5";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pyeve";
|
||||
repo = "events";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-GGhIKHbJ31IN0Uoe689X9V/MZvtseE47qx2CmM4MYUs=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"events"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
"events/tests/tests.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://events.readthedocs.org";
|
||||
description = "Bringing the elegance of C# EventHanlder to Python";
|
||||
homepage = "https://events.readthedocs.org";
|
||||
changelog = "https://github.com/pyeve/events/blob/v0.5/CHANGES";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue