2018-10-16 15:36:07 -07:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
2019-03-22 16:00:04 -07:00
|
|
|
, fetchPypi
|
|
|
|
, isPy3k
|
2020-11-05 15:26:41 -08:00
|
|
|
, pytestCheckHook
|
2018-10-16 15:36:07 -07:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "munkres";
|
2020-10-25 02:06:53 -07:00
|
|
|
version = "1.1.4";
|
2018-10-16 15:36:07 -07:00
|
|
|
|
2019-03-22 16:00:04 -07:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-25 02:06:53 -07:00
|
|
|
sha256 = "fc44bf3c3979dada4b6b633ddeeb8ffbe8388ee9409e4d4e8310c2da1792db03";
|
2018-10-16 15:36:07 -07:00
|
|
|
};
|
|
|
|
|
2020-11-05 15:26:41 -08:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2018-10-16 15:36:07 -07:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://bmc.github.com/munkres/";
|
2018-10-16 15:36:07 -07:00
|
|
|
description = "Munkres algorithm for the Assignment Problem";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|