pythonPackage.munkres: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 18:36:07 -04:00 committed by Frederik Rietdijk
parent 616137d77f
commit e4caef3c23
2 changed files with 26 additions and 19 deletions

View File

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "munkres";
version = "1.0.6";
src = fetchPypi {
inherit pname version;
sha256 = "c78f803b9b776bfb20a25c9c7bb44adbf0f9202c2024d51aa5969d21e560208d";
};
# error: invalid command 'test'
doCheck = false;
meta = with stdenv.lib; {
homepage = http://bmc.github.com/munkres/;
description = "Munkres algorithm for the Assignment Problem";
license = licenses.bsd3;
maintainers = with maintainers; [ domenkozar ];
};
}

View File

@ -2849,25 +2849,7 @@ in {
multiprocess = callPackage ../development/python-modules/multiprocess { };
munkres = buildPythonPackage rec {
name = "munkres-1.0.6";
src = pkgs.fetchurl {
url = "mirror://pypi/m/munkres/${name}.tar.gz";
sha256 = "c78f803b9b776bfb20a25c9c7bb44adbf0f9202c2024d51aa5969d21e560208d";
};
# error: invalid command 'test'
doCheck = false;
meta = {
homepage = http://bmc.github.com/munkres/;
description = "Munkres algorithm for the Assignment Problem";
license = licenses.bsd3;
maintainers = with maintainers; [ domenkozar ];
};
};
munkres = callPackage ../development/python-modules/munkres { };
musicbrainzngs = buildPythonPackage rec {
name = "musicbrainzngs-0.5";