pythonPackages.mmpython: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 09:38:06 -04:00 committed by Frederik Rietdijk
parent 97a27838c1
commit b0bc759a46
2 changed files with 27 additions and 19 deletions

View File

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchurl
, isPyPy
, isPy3k
}:
buildPythonPackage rec {
version = "0.4.10";
pname = "mmpython";
src = fetchurl {
url = http://sourceforge.net/projects/mmpython/files/latest/download;
sha256 = "1b7qfad3shgakj37gcj1b9h78j1hxlz6wp9k7h76pb4sq4bfyihy";
name = "${pname}-${version}.tar.gz";
};
disabled = isPyPy || isPy3k;
meta = with stdenv.lib; {
description = "Media Meta Data retrieval framework";
homepage = https://sourceforge.net/projects/mmpython/;
license = licenses.gpl2;
};
}

View File

@ -3358,25 +3358,7 @@ in {
pyx = callPackage ../development/python-modules/pyx { };
mmpython = buildPythonPackage rec {
version = "0.4.10";
name = "mmpython-${version}";
src = pkgs.fetchurl {
url = http://sourceforge.net/projects/mmpython/files/latest/download;
sha256 = "1b7qfad3shgakj37gcj1b9h78j1hxlz6wp9k7h76pb4sq4bfyihy";
name = "${name}.tar.gz";
};
disabled = isPyPy || isPy3k;
meta = {
description = "Media Meta Data retrieval framework";
homepage = https://sourceforge.net/projects/mmpython/;
license = licenses.gpl2;
maintainers = with maintainers; [ ];
};
};
mmpython = callPackage ../development/python-modules/mmpython { };
kaa-base = buildPythonPackage rec {
version = "0.99.2dev-384-2b73caca";