dvdisaster: Apply debian's patches to allow ROM type and encrypted DVDs
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user