about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pulp/default.nix
blob: ab6fda9d3d45b9b382192afc9051d68db10c57ce (plain) (blame)
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
28
{ stdenv
, fetchPypi
, buildPythonPackage
, pyparsing
}:

buildPythonPackage rec {
  pname = "PuLP";
  version = "2.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "06swbi7wygh7y0kxc85q1pdhzk662375d9a5jnahgr76hkwwkybn";
  };

  propagatedBuildInputs = [ pyparsing ];

  # only one test that requires an extra
  doCheck = false;
  pythonImportsCheck = [ "pulp" ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/coin-or/pulp";
    description = "PuLP is an LP modeler written in python";
    maintainers = with maintainers; [ teto ];
    license = licenses.mit;
  };
}