nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, fetchPypi
3, buildPythonPackage
4, pyparsing
5, amply
6}:
7
8buildPythonPackage rec {
9 pname = "PuLP";
10 version = "2.6.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "4b4f7e1e954453e1b233720be23aea2f10ff068a835ac10c090a93d8e2eb2e8d";
15 };
16
17 propagatedBuildInputs = [ pyparsing amply ];
18
19 # only one test that requires an extra
20 doCheck = false;
21 pythonImportsCheck = [ "pulp" ];
22
23 meta = with lib; {
24 homepage = "https://github.com/coin-or/pulp";
25 description = "PuLP is an LP modeler written in python";
26 maintainers = with maintainers; [ teto ];
27 license = licenses.mit;
28 };
29}