at v192 41 lines 1.4 kB view raw
1{stdenv, fetchurl, cmake, libcap, zlib, bzip2}: 2 3stdenv.mkDerivation rec { 4 name = "cdrkit-1.1.11"; 5 6 src = fetchurl { 7 url = "http://cdrkit.org/releases/${name}.tar.gz"; 8 sha256 = "1nj7iv3xrq600i37na9a5idd718piiiqbs4zxvpjs66cdrsk1h6i"; 9 }; 10 11 buildInputs = [cmake libcap zlib bzip2]; 12 13 # efi-boot-patch extracted from http://arm.koji.fedoraproject.org/koji/rpminfo?rpmID=174244 14 patches = [ ./include-path.patch ./cdrkit-1.1.9-efi-boot.patch ]; 15 16 postInstall = '' 17 # file name compatibility with the old cdrecord (growisofs wants this name) 18 ln -s $out/bin/genisoimage $out/bin/mkisofs 19 ln -s $out/bin/wodim $out/bin/cdrecord 20 ''; 21 22 makeFlags = "PREFIX=\$(out)"; 23 24 meta = { 25 description = "Portable command-line CD/DVD recorder software, mostly compatible with cdrtools"; 26 27 longDescription = '' 28 Cdrkit is a suite of programs for recording CDs and DVDs, 29 blanking CD-RW media, creating ISO-9660 filesystem images, 30 extracting audio CD data, and more. The programs included in 31 the cdrkit package were originally derived from several sources, 32 most notably mkisofs by Eric Youngdale and others, cdda2wav by 33 Heiko Eissfeldt, and cdrecord by Jörg Schilling. However, 34 cdrkit is not affiliated with any of these authors; it is now an 35 independent project. 36 ''; 37 38 homepage = http://cdrkit.org/; 39 license = stdenv.lib.licenses.gpl2; 40 }; 41}