You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
911 B
31 lines
911 B
{ fetchurl, stdenv |
|
, IOKit ? null }: |
|
|
|
stdenv.mkDerivation rec { |
|
pname = "cd-discid"; |
|
version = "1.4"; |
|
|
|
src = fetchurl { |
|
url = "http://linukz.org/download/${pname}-${version}.tar.gz"; |
|
sha256 = "0qrcvn7227qaayjcd5rm7z0k5q89qfy5qkdgwr5pd7ih0va8rmpz"; |
|
}; |
|
|
|
installFlags = "PREFIX=$(out) INSTALL=install"; |
|
|
|
buildInputs = [] |
|
++ stdenv.lib.optional stdenv.isDarwin IOKit; |
|
|
|
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. |
|
''; |
|
}; |
|
}
|
|
|