nixpkgs/pkgs/development/python-modules/pulp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
619 B
Nix
Raw Normal View History

{ lib
2020-06-03 00:17:33 +00:00
, fetchPypi
, buildPythonPackage
, pyparsing
, amply
2020-06-03 00:17:33 +00:00
}:
buildPythonPackage rec {
pname = "PuLP";
2021-12-07 00:42:31 +00:00
version = "2.6.0";
src = fetchPypi {
inherit pname version;
2021-12-07 00:42:31 +00:00
sha256 = "4b4f7e1e954453e1b233720be23aea2f10ff068a835ac10c090a93d8e2eb2e8d";
};
propagatedBuildInputs = [ pyparsing amply ];
# only one test that requires an extra
doCheck = false;
2020-06-03 00:17:33 +00:00
pythonImportsCheck = [ "pulp" ];
meta = with lib; {
homepage = "https://github.com/coin-or/pulp";
description = "PuLP is an LP modeler written in python";
maintainers = with maintainers; [ teto ];
license = licenses.mit;
};
}