Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 34 lines 839 B view raw
1{ 2 fetchurl, 3 lib, 4 stdenv, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "cd-discid"; 9 version = "1.4"; 10 11 src = fetchurl { 12 url = "http://linukz.org/download/${pname}-${version}.tar.gz"; 13 sha256 = "0qrcvn7227qaayjcd5rm7z0k5q89qfy5qkdgwr5pd7ih0va8rmpz"; 14 }; 15 16 installFlags = [ 17 "PREFIX=$(out)" 18 "INSTALL=install" 19 ]; 20 21 meta = with lib; { 22 homepage = "http://linukz.org/cd-discid.shtml"; 23 license = licenses.gpl2Plus; 24 platforms = platforms.unix; 25 description = "Command-line utility to get CDDB discid information from a CD-ROM disc"; 26 mainProgram = "cd-discid"; 27 28 longDescription = '' 29 cd-discid is a backend utility to get CDDB discid information 30 from a CD-ROM disc. It was originally designed for cdgrab (now 31 abcde), but can be used for any purpose requiring CDDB data. 32 ''; 33 }; 34}