aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/simpy/default.nix
blob: f718b3655f6faaf7e3b09ad19561d8181b83770b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ buildPythonPackage, fetchPypi, isPy27, lib, setuptools, setuptools_scm
, pytestCheckHook }:

buildPythonPackage rec {
  pname = "simpy";
  version = "4.0.1";

  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "b36542e2faab612f861c5ef4da17220ac1553f5892b3583c67281dbe4faad404";
  };

  nativeBuildInputs = [ setuptools_scm ];

  propagatedBuildInputs = [ setuptools ];

  checkInputs = [ 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 ];
  };
}