nixpkgs/pkgs/applications/audio/cd-discid/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
869 B
Nix
Raw Normal View History

{ fetchurl, lib, stdenv
2016-08-12 03:14:20 +00:00
, IOKit ? null }:
stdenv.mkDerivation rec {
pname = "cd-discid";
version = "1.4";
src = fetchurl {
url = "http://linukz.org/download/${pname}-${version}.tar.gz";
sha256 = "0qrcvn7227qaayjcd5rm7z0k5q89qfy5qkdgwr5pd7ih0va8rmpz";
};
2019-11-05 01:10:31 +00:00
installFlags = [ "PREFIX=$(out)" "INSTALL=install" ];
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
meta = with lib; {
homepage = "http://linukz.org/cd-discid.shtml";
license = licenses.gpl2Plus;
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.
'';
};
}