3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.CDDB: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-15 12:54:10 -04:00 committed by Frederik Rietdijk
parent 22a6d2be21
commit ac2ec2ecc1
2 changed files with 25 additions and 18 deletions

View file

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, pkgs
, isPy3k
}:
buildPythonPackage rec {
name = "CDDB-1.4";
disabled = isPy3k;
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.IOKit ];
src = pkgs.fetchurl {
url = "http://cddb-py.sourceforge.net/${name}.tar.gz";
sha256 = "098xhd575ibvdx7i3dny3lwi851yxhjg2hn5jbbgrwj833rg5l5w";
};
meta = with stdenv.lib; {
homepage = http://cddb-py.sourceforge.net/;
description = "CDDB and FreeDB audio CD track info access";
license = licenses.gpl2Plus;
};
}

View file

@ -1272,24 +1272,7 @@ in {
cccolutils = callPackage ../development/python-modules/cccolutils {};
CDDB = buildPythonPackage rec {
name = "CDDB-1.4";
disabled = !isPy27;
buildInputs = optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.IOKit ];
src = pkgs.fetchurl {
url = "http://cddb-py.sourceforge.net/${name}.tar.gz";
sha256 = "098xhd575ibvdx7i3dny3lwi851yxhjg2hn5jbbgrwj833rg5l5w";
};
meta = {
homepage = http://cddb-py.sourceforge.net/;
description = "CDDB and FreeDB audio CD track info access";
license = licenses.gpl2Plus;
};
};
CDDB = callPackage ../development/python-modules/cddb { };
cntk = buildPythonPackage rec {
inherit (pkgs.cntk) name version src meta;