Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 575 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5, nose 6}: 7 8buildPythonPackage rec { 9 pname = "munkres"; 10 version = "1.1.2"; 11 12 disabled = !isPy3k; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "81e9ced40c3d0ffc48be4b6da5cfdfaa49041faaaba8075b159974ec47926aea"; 17 }; 18 19 checkInputs = [ nose ]; 20 21 checkPhase = "nosetests"; 22 23 meta = with stdenv.lib; { 24 homepage = "http://bmc.github.com/munkres/"; 25 description = "Munkres algorithm for the Assignment Problem"; 26 license = licenses.bsd3; 27 maintainers = with maintainers; [ domenkozar ]; 28 }; 29 30}