pythonPackage.munkres: refactor move to python-modules
This commit is contained in:
parent
616137d77f
commit
e4caef3c23
25
pkgs/development/python-modules/munkres/default.nix
Normal file
25
pkgs/development/python-modules/munkres/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2849,25 +2849,7 @@ in {
|
|||||||
|
|
||||||
multiprocess = callPackage ../development/python-modules/multiprocess { };
|
multiprocess = callPackage ../development/python-modules/multiprocess { };
|
||||||
|
|
||||||
munkres = buildPythonPackage rec {
|
munkres = callPackage ../development/python-modules/munkres { };
|
||||||
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 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
musicbrainzngs = buildPythonPackage rec {
|
musicbrainzngs = buildPythonPackage rec {
|
||||||
name = "musicbrainzngs-0.5";
|
name = "musicbrainzngs-0.5";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user