2023-01-20 10:41:00 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, isPy27
|
|
|
|
, lib
|
|
|
|
, setuptools
|
|
|
|
, setuptools-scm
|
|
|
|
, py
|
2020-07-18 16:06:22 +00:00
|
|
|
, pytestCheckHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "simpy";
|
2020-06-15 15:56:04 +00:00
|
|
|
version = "4.0.1";
|
2023-01-20 10:41:00 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-15 15:56:04 +00:00
|
|
|
sha256 = "b36542e2faab612f861c5ef4da17220ac1553f5892b3583c67281dbe4faad404";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
|
|
|
];
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2023-01-20 10:41:00 +00:00
|
|
|
checkInputs = [
|
|
|
|
py
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-06-15 15:56:04 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
2020-07-18 16:06:22 +00:00
|
|
|
homepage = "https://simpy.readthedocs.io/en/${version}/";
|
|
|
|
description = "Process-based discrete-event simulation framework based on standard Python";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = [ licenses.mit ];
|
2020-07-18 16:06:22 +00:00
|
|
|
maintainers = with maintainers; [ dmrauh shlevy ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|