nixpkgs/pkgs/development/python-modules/pyee/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
855 B
Nix
Raw Normal View History

2021-08-24 22:33:34 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, mock
, pytest-asyncio
, pytest-trio
, pytestCheckHook
2021-08-24 22:33:34 +01:00
, pythonOlder
, twisted
, typing-extensions
, vcversioner
}:
2020-11-17 19:57:14 +00:00
buildPythonPackage rec {
pname = "pyee";
2022-03-02 21:42:14 +00:00
version = "9.0.4";
format = "setuptools";
2021-08-24 22:33:34 +01:00
disabled = pythonOlder "3.6";
2020-11-17 19:57:14 +00:00
src = fetchPypi {
inherit pname version;
hash = "sha256-J3DEkoq8ch9GtwXmpysMWUgMSmnJqDygsAu5lPHqSzI=";
2020-11-17 19:57:14 +00:00
};
buildInputs = [
vcversioner
];
propagatedBuildInputs = [
typing-extensions
];
2020-11-17 19:57:14 +00:00
checkInputs = [
mock
pytest-asyncio
pytest-trio
2021-08-24 22:33:34 +01:00
pytestCheckHook
2020-11-17 19:57:14 +00:00
twisted
];
pythonImportsCheck = [
"pyee"
];
2021-08-24 22:33:34 +01:00
meta = with lib; {
description = "A port of Node.js's EventEmitter to Python";
2020-11-17 19:57:14 +00:00
homepage = "https://github.com/jfhbrook/pyee";
2021-08-24 22:33:34 +01:00
license = licenses.mit;
maintainers = with maintainers; [ kmein ];
2020-11-17 19:57:14 +00:00
};
}