nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.05 29 lines 617 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, pyparsing 5, amply 6}: 7 8buildPythonPackage rec { 9 pname = "PuLP"; 10 version = "2.4"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "b2aff10989b3692e3a59301a0cb0acddeb25dcea378f8804c86007075eae55b5"; 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}