2016-08-12 04:14:20 +01:00
|
|
|
{ fetchurl, stdenv
|
|
|
|
, IOKit ? null }:
|
2008-05-26 21:18:45 +01:00
|
|
|
|
2015-10-27 18:06:13 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cd-discid-${version}";
|
|
|
|
version = "1.4";
|
2008-05-26 21:18:45 +01:00
|
|
|
|
2015-10-27 18:06:13 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://linukz.org/download/${name}.tar.gz";
|
|
|
|
sha256 = "0qrcvn7227qaayjcd5rm7z0k5q89qfy5qkdgwr5pd7ih0va8rmpz";
|
|
|
|
};
|
2008-05-26 21:18:45 +01:00
|
|
|
|
2015-11-01 10:41:53 +00:00
|
|
|
installFlags = "PREFIX=$(out) INSTALL=install";
|
2008-05-26 21:18:45 +01:00
|
|
|
|
2016-08-12 04:14:20 +01:00
|
|
|
buildInputs = []
|
2016-10-01 21:38:06 +01:00
|
|
|
++ stdenv.lib.optional stdenv.isDarwin IOKit;
|
2016-08-12 04:14:20 +01:00
|
|
|
|
2015-10-27 18:06:13 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://linukz.org/cd-discid.shtml;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
platforms = platforms.unix;
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "Command-line utility to get CDDB discid information from a CD-ROM disc";
|
2008-05-26 21:18:45 +01:00
|
|
|
|
2015-10-27 18:06:13 +00:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|