1{ buildPythonPackage, fetchPypi, isPy27, lib, setuptools, setuptools-scm
2, pytestCheckHook }:
3
4buildPythonPackage rec {
5 pname = "simpy";
6 version = "4.0.1";
7
8 disabled = isPy27;
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "b36542e2faab612f861c5ef4da17220ac1553f5892b3583c67281dbe4faad404";
13 };
14
15 nativeBuildInputs = [ setuptools-scm ];
16
17 propagatedBuildInputs = [ setuptools ];
18
19 checkInputs = [ pytestCheckHook ];
20
21 meta = with lib; {
22 homepage = "https://simpy.readthedocs.io/en/${version}/";
23 description = "Process-based discrete-event simulation framework based on standard Python";
24 license = [ licenses.mit ];
25 maintainers = with maintainers; [ dmrauh shlevy ];
26 };
27}