Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 734 B view raw
1{ stdenv 2, fetchPypi 3, buildPythonPackage 4, setuptools_scm 5, docutils 6, pyparsing 7}: 8 9buildPythonPackage rec { 10 pname = "amply"; 11 version = "0.1.2"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "1j2dqdz1y1nbyw33qq89v0f5rkmqfbga72d9hax909vpcapm6pbf"; 16 }; 17 18 buildInputs = [ setuptools_scm ]; 19 propagatedBuildInputs = [ 20 docutils 21 pyparsing 22 ]; 23 24 checkPhase = '' 25 python tests/test_amply.py 26 ''; 27 pythonImportsCheck = [ "amply" ]; 28 29 meta = with stdenv.lib; { 30 homepage = "https://github.com/willu47/amply"; 31 description = '' 32 Allows you to load and manipulate AMPL/GLPK data as Python data structures 33 ''; 34 maintainers = with maintainers; [ ris ]; 35 license = licenses.epl10; 36 }; 37}