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

30 lines
625 B
Nix
Raw Normal View History

{ lib, stdenv
2020-06-03 01:17:33 +01:00
, fetchPypi
, buildPythonPackage
, pyparsing
, amply
2020-06-03 01:17:33 +01:00
}:
buildPythonPackage rec {
pname = "PuLP";
2020-12-22 06:23:13 +00:00
version = "2.4";
src = fetchPypi {
inherit pname version;
2020-12-22 06:23:13 +00:00
sha256 = "b2aff10989b3692e3a59301a0cb0acddeb25dcea378f8804c86007075eae55b5";
};
propagatedBuildInputs = [ pyparsing amply ];
# only one test that requires an extra
doCheck = false;
2020-06-03 01:17:33 +01: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;
};
}