1{ buildPythonPackage 2, fetchPypi 3, isPy27 4, lib 5, setuptools 6, setuptools-scm 7, py 8, pytestCheckHook }: 9 10buildPythonPackage rec { 11 pname = "simpy"; 12 version = "4.0.2"; 13 format = "setuptools"; 14 15 disabled = isPy27; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "sha256-bYrcAinfawL7fibc0TOHA7T09j8WelrCpyE8uAq6RIQ="; 20 }; 21 22 nativeBuildInputs = [ 23 setuptools-scm 24 ]; 25 26 propagatedBuildInputs = [ 27 setuptools 28 ]; 29 30 nativeCheckInputs = [ 31 py 32 pytestCheckHook 33 ]; 34 35 meta = with lib; { 36 homepage = "https://simpy.readthedocs.io/en/${version}/"; 37 description = "Process-based discrete-event simulation framework based on standard Python"; 38 license = [ licenses.mit ]; 39 maintainers = with maintainers; [ dmrauh shlevy ]; 40 }; 41}