Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / simpy / default.nix
blobf718b3655f6faaf7e3b09ad19561d8181b83770b
1 { buildPythonPackage, fetchPypi, isPy27, lib, setuptools, setuptools_scm
2 , pytestCheckHook }:
4 buildPythonPackage rec {
5   pname = "simpy";
6   version = "4.0.1";
8   disabled = isPy27;
10   src = fetchPypi {
11     inherit pname version;
12     sha256 = "b36542e2faab612f861c5ef4da17220ac1553f5892b3583c67281dbe4faad404";
13   };
15   nativeBuildInputs = [ setuptools_scm ];
17   propagatedBuildInputs = [ setuptools ];
19   checkInputs = [ pytestCheckHook ];
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   };