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

41 lines
779 B
Nix
Raw Normal View History

{ buildPythonPackage
, fetchPypi
, isPy27
, lib
, setuptools
, setuptools-scm
, py
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "simpy";
version = "4.1.1";
pyproject = true;
disabled = isPy27;
src = fetchPypi {
inherit pname version;
hash = "sha256-BtB1CniEsR4OjiDOC8fG1O1fF0PUVmlTQNE/3/lQAaY=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
py
pytestCheckHook
];
meta = with lib; {
downloadPage = "https://github.com/simpx/simpy";
homepage = "https://simpy.readthedocs.io/en/${version}/";
description = "Process-based discrete-event simulation framework based on standard Python";
license = [ licenses.mit ];
maintainers = with maintainers; [ dmrauh shlevy ];
};
}