nixpkgs/pkgs/development/python-modules/simpy/default.nix
2023-09-27 15:34:28 +02:00

42 lines
767 B
Nix

{ buildPythonPackage
, fetchPypi
, isPy27
, lib
, setuptools
, setuptools-scm
, py
, pytestCheckHook }:
buildPythonPackage rec {
pname = "simpy";
version = "4.0.2";
format = "setuptools";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-bYrcAinfawL7fibc0TOHA7T09j8WelrCpyE8uAq6RIQ=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
setuptools
];
nativeCheckInputs = [
py
pytestCheckHook
];
meta = with lib; {
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 ];
};
}