aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/simpy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/simpy/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/simpy/default.nix21
1 files changed, 15 insertions, 6 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/simpy/default.nix b/nixpkgs/pkgs/development/python-modules/simpy/default.nix
index bcf853e999c..f718b3655f6 100644
--- a/nixpkgs/pkgs/development/python-modules/simpy/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/simpy/default.nix
@@ -1,18 +1,27 @@
-{ buildPythonPackage, fetchPypi, lib }:
+{ buildPythonPackage, fetchPypi, isPy27, lib, setuptools, setuptools_scm
+, pytestCheckHook }:
buildPythonPackage rec {
pname = "simpy";
- version = "3.0.13";
+ version = "4.0.1";
+
+ disabled = isPy27;
src = fetchPypi {
inherit pname version;
- sha256 = "dd8c16ca3cff1574c99fe9f5ea4019c631c327f2bdc842e8b1a5c55f5e3e9d27";
+ sha256 = "b36542e2faab612f861c5ef4da17220ac1553f5892b3583c67281dbe4faad404";
};
+ nativeBuildInputs = [ setuptools_scm ];
+
+ propagatedBuildInputs = [ setuptools ];
+
+ checkInputs = [ pytestCheckHook ];
+
meta = with lib; {
- homepage = "https://simpy.readthedocs.io/en/latest/";
- description = "A process-based discrete-event simulation framework based on standard Python.";
+ homepage = "https://simpy.readthedocs.io/en/${version}/";
+ description = "Process-based discrete-event simulation framework based on standard Python";
license = [ licenses.mit ];
- maintainers = with maintainers; [ shlevy ];
+ maintainers = with maintainers; [ dmrauh shlevy ];
};
}