3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/munkres/default.nix
2020-11-05 15:47:00 -08:00

31 lines
575 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, nose
}:
buildPythonPackage rec {
pname = "munkres";
version = "1.1.4";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "fc44bf3c3979dada4b6b633ddeeb8ffbe8388ee9409e4d4e8310c2da1792db03";
};
checkInputs = [ nose ];
checkPhase = "nosetests";
meta = with stdenv.lib; {
homepage = "http://bmc.github.com/munkres/";
description = "Munkres algorithm for the Assignment Problem";
license = licenses.bsd3;
maintainers = with maintainers; [ domenkozar ];
};
}