2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2018-10-15 18:54:10 +02:00
|
|
|
, buildPythonPackage
|
|
|
|
, pkgs
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-03-29 12:34:50 +02:00
|
|
|
pname = "CDDB";
|
|
|
|
version = "1.4";
|
2018-10-15 18:54:10 +02:00
|
|
|
disabled = isPy3k;
|
|
|
|
|
2021-01-24 01:29:22 +01:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.IOKit ];
|
2018-10-15 18:54:10 +02:00
|
|
|
|
|
|
|
src = pkgs.fetchurl {
|
2020-03-29 12:34:50 +02:00
|
|
|
url = "http://cddb-py.sourceforge.net/${pname}-${version}.tar.gz";
|
2018-10-15 18:54:10 +02:00
|
|
|
sha256 = "098xhd575ibvdx7i3dny3lwi851yxhjg2hn5jbbgrwj833rg5l5w";
|
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://cddb-py.sourceforge.net/";
|
2018-10-15 18:54:10 +02:00
|
|
|
description = "CDDB and FreeDB audio CD track info access";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|