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