1{
2 buildPythonPackage,
3 fetchPypi,
4 isPy27,
5 lib,
6 setuptools,
7 setuptools-scm,
8 py,
9 pytestCheckHook,
10}:
11
12buildPythonPackage rec {
13 pname = "simpy";
14 version = "4.1.1";
15 pyproject = true;
16
17 disabled = isPy27;
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-BtB1CniEsR4OjiDOC8fG1O1fF0PUVmlTQNE/3/lQAaY=";
22 };
23
24 nativeBuildInputs = [
25 setuptools
26 setuptools-scm
27 ];
28
29 nativeCheckInputs = [
30 py
31 pytestCheckHook
32 ];
33
34 meta = with lib; {
35 downloadPage = "https://github.com/simpx/simpy";
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; [
40 dmrauh
41 shlevy
42 ];
43 };
44}