about summary refs log tree commit diff
path: root/pkgs/applications/audio/cd-discid/default.nix
blob: 7e0c245d3579069996afba9a0fe71fe58fc5e16e (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
26
27
{ fetchurl, stdenv }:

stdenv.mkDerivation rec {
  name = "cd-discid-${version}";
  version = "1.4";

  src = fetchurl {
    url = "http://linukz.org/download/${name}.tar.gz";
    sha256 = "0qrcvn7227qaayjcd5rm7z0k5q89qfy5qkdgwr5pd7ih0va8rmpz";
  };

  installFlags = "PREFIX=$(out) INSTALL=install";

  meta = with stdenv.lib; {
    homepage = http://linukz.org/cd-discid.shtml;
    license = licenses.gpl2Plus;
    maintainers = [ maintainers.rycee ];
    platforms = platforms.unix;
    description = "command-line utility to get CDDB discid information from a CD-ROM disc";

    longDescription = ''
      cd-discid is a backend utility to get CDDB discid information
      from a CD-ROM disc.  It was originally designed for cdgrab (now
      abcde), but can be used for any purpose requiring CDDB data.
    '';
  };
}