2020-06-26 08:31:09 +01:00
|
|
|
{ buildPythonPackage, fetchPypi, isPy27, lib, setuptools, setuptools_scm
|
|
|
|
, pytestCheckHook }:
|
2018-07-17 22:37:50 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "simpy";
|
2020-06-06 07:47:31 +01:00
|
|
|
version = "4.0.1";
|
2018-07-17 22:37:50 +01:00
|
|
|
|
2020-06-26 08:31:09 +01:00
|
|
|
disabled = isPy27;
|
|
|
|
|
2018-07-17 22:37:50 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:31 +01:00
|
|
|
sha256 = "b36542e2faab612f861c5ef4da17220ac1553f5892b3583c67281dbe4faad404";
|
2018-07-17 22:37:50 +01:00
|
|
|
};
|
|
|
|
|
2020-06-08 19:53:41 +01:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
2020-06-26 08:31:09 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ setuptools ];
|
|
|
|
|
2020-06-08 19:53:41 +01:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
2018-07-17 22:37:50 +01:00
|
|
|
meta = with lib; {
|
2020-06-26 08:31:09 +01:00
|
|
|
homepage = "https://simpy.readthedocs.io/en/${version}/";
|
|
|
|
description = "Process-based discrete-event simulation framework based on standard Python";
|
2018-07-17 22:37:50 +01:00
|
|
|
license = [ licenses.mit ];
|
2020-06-26 08:31:09 +01:00
|
|
|
maintainers = with maintainers; [ dmrauh shlevy ];
|
2018-07-17 22:37:50 +01:00
|
|
|
};
|
|
|
|
}
|