diff options
author | Jascha Geerds <jg@ekby.de> | 2015-04-27 23:50:56 +0200 |
---|---|---|
committer | Jascha Geerds <jg@ekby.de> | 2015-04-28 00:01:49 +0200 |
commit | 00ab10de74bb8d67d426e6181cdad904e607c95a (patch) | |
tree | d12a9080e8366189453e606515dfbbb658bf1572 /pkgs/tools/cd-dvd/dvdisaster/default.nix | |
parent | 169efee101d0ab56269d82991bdf6faed3523ede (diff) | |
download | nixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.tar nixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.tar.gz nixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.tar.bz2 nixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.tar.lz nixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.tar.xz nixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.tar.zst nixlib-00ab10de74bb8d67d426e6181cdad904e607c95a.zip |
dvdisaster: Apply debian's patches to allow ROM type and encrypted DVDs
Diffstat (limited to 'pkgs/tools/cd-dvd/dvdisaster/default.nix')
-rw-r--r-- | pkgs/tools/cd-dvd/dvdisaster/default.nix | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/pkgs/tools/cd-dvd/dvdisaster/default.nix b/pkgs/tools/cd-dvd/dvdisaster/default.nix index 1bdf363300b6..472ef056f1f1 100644 --- a/pkgs/tools/cd-dvd/dvdisaster/default.nix +++ b/pkgs/tools/cd-dvd/dvdisaster/default.nix @@ -1,5 +1,6 @@ { stdenv, fetchurl, pkgconfig, which, gettext, intltool , glib, gtk2 +, enableSoftening ? true }: stdenv.mkDerivation rec { @@ -10,6 +11,11 @@ stdenv.mkDerivation rec { sha256 = "e9787dea39aeafa38b26604752561bc895083c17b588489d857ac05c58be196b"; }; + patches = stdenv.lib.optional enableSoftening [ + ./encryption.patch + ./dvdrom.patch + ]; + postPatch = '' patchShebangs ./ ''; @@ -22,11 +28,17 @@ stdenv.mkDerivation rec { glib gtk2 ]; - meta = { + meta = with stdenv.lib; { homepage = http://dvdisaster.net/; - description = - "Stores data on CD/DVD/BD in a way that it is fully recoverable even " + - "after some read errors have developed"; - license = stdenv.lib.licenses.gpl2; + description = "data loss/scratch/aging protection for CD/DVD media"; + longDescription = '' + dvdisaster provides a margin of safety against data loss on CD and + DVD media caused by scratches or aging media. It creates error correction + data which is used to recover unreadable sectors if the disc becomes + damaged at a later time. + ''; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = with maintainers; [ jgeerds ]; }; } |