nixpkgs/pkgs/development/python-modules/simpy/default.nix

28 lines
714 B
Nix
Raw Normal View History

{ buildPythonPackage, fetchPypi, isPy27, lib, setuptools, setuptools_scm
, pytestCheckHook }:
2018-07-17 23:37:50 +02:00
buildPythonPackage rec {
pname = "simpy";
2020-06-06 08:47:31 +02:00
version = "4.0.1";
2018-07-17 23:37:50 +02:00
disabled = isPy27;
2018-07-17 23:37:50 +02:00
src = fetchPypi {
inherit pname version;
2020-06-06 08:47:31 +02:00
sha256 = "b36542e2faab612f861c5ef4da17220ac1553f5892b3583c67281dbe4faad404";
2018-07-17 23:37:50 +02:00
};
2020-06-08 20:53:41 +02:00
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ setuptools ];
2020-06-08 20:53:41 +02:00
checkInputs = [ pytestCheckHook ];
2018-07-17 23:37:50 +02:00
meta = with lib; {
homepage = "https://simpy.readthedocs.io/en/${version}/";
description = "Process-based discrete-event simulation framework based on standard Python";
2018-07-17 23:37:50 +02:00
license = [ licenses.mit ];
maintainers = with maintainers; [ dmrauh shlevy ];
2018-07-17 23:37:50 +02:00
};
}