nixpkgs-suyu/pkgs/development/python-modules/cddb/default.nix

26 lines
585 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, pkgs
, isPy3k
}:
buildPythonPackage rec {
2020-03-29 12:34:50 +02:00
pname = "CDDB";
version = "1.4";
disabled = isPy3k;
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.IOKit ];
src = pkgs.fetchurl {
2020-03-29 12:34:50 +02:00
url = "http://cddb-py.sourceforge.net/${pname}-${version}.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;
};
}