pythonPackages.CDDB: refactor move to python-modules
This commit is contained in:
parent
22a6d2be21
commit
ac2ec2ecc1
24
pkgs/development/python-modules/cddb/default.nix
Normal file
24
pkgs/development/python-modules/cddb/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -1272,24 +1272,7 @@ in {
|
|||||||
|
|
||||||
cccolutils = callPackage ../development/python-modules/cccolutils {};
|
cccolutils = callPackage ../development/python-modules/cccolutils {};
|
||||||
|
|
||||||
CDDB = buildPythonPackage rec {
|
CDDB = callPackage ../development/python-modules/cddb { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
cntk = buildPythonPackage rec {
|
cntk = buildPythonPackage rec {
|
||||||
inherit (pkgs.cntk) name version src meta;
|
inherit (pkgs.cntk) name version src meta;
|
||||||
|
Loading…
Reference in New Issue
Block a user