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