33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
52 lines
861 B
Nix
52 lines
861 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, mock
|
|
, pytest-asyncio
|
|
, pytest-trio
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, twisted
|
|
, typing-extensions
|
|
, vcversioner
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyee";
|
|
version = "9.0.4";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-J3DEkoq8ch9GtwXmpysMWUgMSmnJqDygsAu5lPHqSzI=";
|
|
};
|
|
|
|
buildInputs = [
|
|
vcversioner
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
typing-extensions
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
mock
|
|
pytest-asyncio
|
|
pytest-trio
|
|
pytestCheckHook
|
|
twisted
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"pyee"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A port of Node.js's EventEmitter to Python";
|
|
homepage = "https://github.com/jfhbrook/pyee";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ kmein ];
|
|
};
|
|
}
|