depot/third_party/nixpkgs/pkgs/development/python-modules/simpy/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

41 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 ];
};
}