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.
41 lines
780 B
Nix
41 lines
780 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, isPy27
|
|
, lib
|
|
, setuptools
|
|
, setuptools-scm
|
|
, py
|
|
, pytestCheckHook }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "simpy";
|
|
version = "4.0.1";
|
|
format = "setuptools";
|
|
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b36542e2faab612f861c5ef4da17220ac1553f5892b3583c67281dbe4faad404";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
py
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://simpy.readthedocs.io/en/${version}/";
|
|
description = "Process-based discrete-event simulation framework based on standard Python";
|
|
license = [ licenses.mit ];
|
|
maintainers = with maintainers; [ dmrauh shlevy ];
|
|
};
|
|
}
|