@@ -1,5 +1,6 @@
11{ stdenv, fetchurl, pkgconfig, which, gettext, intltool
22, glib, gtk2
3+, enableSoftening ? true
34}:
45
56stdenv.mkDerivation rec {
@@ -10,6 +11,11 @@ stdenv.mkDerivation rec {
1011 sha256 = "e9787dea39aeafa38b26604752561bc895083c17b588489d857ac05c58be196b";
1112 };
1213
14+ patches = stdenv.lib.optional enableSoftening [
15+ ./encryption.patch
16+ ./dvdrom.patch
17+ ];
18+
1319 postPatch = ''
1420 patchShebangs ./
1521 '';
@@ -22,11 +28,17 @@ stdenv.mkDerivation rec {
2228 glib gtk2
2329 ];
2430
25− meta = {
31+ meta = with stdenv.lib; {
2632 homepage = http://dvdisaster.net/;
27− description =
28− "Stores data on CD/DVD/BD in a way that it is fully recoverable even " +
29− "after some read errors have developed";
30− license = stdenv.lib.licenses.gpl2;
33+ description = "data loss/scratch/aging protection for CD/DVD media";
34+ longDescription = ''
35+ dvdisaster provides a margin of safety against data loss on CD and
36+ DVD media caused by scratches or aging media. It creates error correction
37+ data which is used to recover unreadable sectors if the disc becomes
38+ damaged at a later time.
39+ '';
40+ license = licenses.gpl2;
41+ platforms = platforms.linux;
42+ maintainers = with maintainers; [ jgeerds ];
3143 };
3244}