1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/audio/cd-discid/default.nix

32 lines
909 B
Nix
Raw Normal View History

2016-08-12 04:14:20 +01:00
{ fetchurl, stdenv
, IOKit ? null }:
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";
2016-08-12 04:14:20 +01:00
buildInputs = []
++ stdenv.lib.optional stdenv.isDarwin IOKit;
2016-08-12 04:14:20 +01:00
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.
'';
};
}