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.
48 lines
920 B
Nix
48 lines
920 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, attrs
|
|
, pytest-benchmark
|
|
, pytestCheckHook
|
|
, setuptools-scm
|
|
, six
|
|
}:
|
|
|
|
let automat = buildPythonPackage rec {
|
|
version = "22.10.0";
|
|
pname = "automat";
|
|
|
|
src = fetchPypi {
|
|
pname = "Automat";
|
|
inherit version;
|
|
hash = "sha256-5WvrhO2tGdzBHTDo2biV913ute9elrhKRnBms7hLsE4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
six
|
|
attrs
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-benchmark
|
|
pytestCheckHook
|
|
];
|
|
|
|
# escape infinite recursion with twisted
|
|
doCheck = false;
|
|
|
|
passthru.tests = {
|
|
check = automat.overridePythonAttrs (_: { doCheck = true; });
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/glyph/Automat";
|
|
description = "Self-service finite-state machines for the programmer on the go";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}; in automat
|