···11{ stdenv, fetchurl, pkgconfig, which, gettext, intltool
22, glib, gtk2
33+, enableSoftening ? true
34}:
4556stdenv.mkDerivation rec {
···910 url = "http://dvdisaster.net/downloads/${name}.tar.bz2";
1011 sha256 = "e9787dea39aeafa38b26604752561bc895083c17b588489d857ac05c58be196b";
1112 };
1313+1414+ patches = stdenv.lib.optional enableSoftening [
1515+ ./encryption.patch
1616+ ./dvdrom.patch
1717+ ];
12181319 postPatch = ''
1420 patchShebangs ./
···2228 glib gtk2
2329 ];
24302525- meta = {
3131+ meta = with stdenv.lib; {
2632 homepage = http://dvdisaster.net/;
2727- description =
2828- "Stores data on CD/DVD/BD in a way that it is fully recoverable even " +
2929- "after some read errors have developed";
3030- license = stdenv.lib.licenses.gpl2;
3333+ description = "data loss/scratch/aging protection for CD/DVD media";
3434+ longDescription = ''
3535+ dvdisaster provides a margin of safety against data loss on CD and
3636+ DVD media caused by scratches or aging media. It creates error correction
3737+ data which is used to recover unreadable sectors if the disc becomes
3838+ damaged at a later time.
3939+ '';
4040+ license = licenses.gpl2;
4141+ platforms = platforms.linux;
4242+ maintainers = with maintainers; [ jgeerds ];
3143 };
3244}