diff --git a/pkgs/development/python-modules/mmpython/default.nix b/pkgs/development/python-modules/mmpython/default.nix new file mode 100644 index 00000000000..c35b2e35cfb --- /dev/null +++ b/pkgs/development/python-modules/mmpython/default.nix @@ -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; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 63d61acc9aa..81cf4a2bbff 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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";