summary refs log tree commit diff
path: root/pkgs/development/python-modules/cddb/default.nix
blob: 5c27b48d62f34c50b9fb48424afc64d178181d78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv
, buildPythonPackage
, pkgs
, isPy3k
}:

buildPythonPackage rec {
  pname = "CDDB";
  version = "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/${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;
  };

}