3
0
Fork 0
forked from mirrors/nixpkgs
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 22:37:50 +01:00
buildPythonPackage rec {
pname = "simpy";
2020-06-06 07:47:31 +01:00
version = "4.0.1";
2018-07-17 22:37:50 +01:00
disabled = isPy27;
2018-07-17 22:37:50 +01:00
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:31 +01:00
sha256 = "b36542e2faab612f861c5ef4da17220ac1553f5892b3583c67281dbe4faad404";
2018-07-17 22:37:50 +01:00
};
2020-06-08 19:53:41 +01:00
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ setuptools ];
2020-06-08 19:53:41 +01:00
checkInputs = [ pytestCheckHook ];
2018-07-17 22:37:50 +01: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 22:37:50 +01:00
license = [ licenses.mit ];
maintainers = with maintainers; [ dmrauh shlevy ];
2018-07-17 22:37:50 +01:00
};
}