2020-09-11 16:28:43 +02:00
|
|
|
{ stdenv, fetchurl, fetchpatch, libdvdread, libdvdcss, dvdauthor }:
|
2016-03-25 04:05:04 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.4.2";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "dvdbackup";
|
2016-03-25 04:05:04 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/dvdbackup/${pname}-${version}.tar.xz";
|
2016-03-25 04:05:04 +01:00
|
|
|
sha256 = "1rl3h7waqja8blmbpmwy01q9fgr5r0c32b8dy3pbf59bp3xmd37g";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libdvdread libdvdcss dvdauthor ];
|
|
|
|
|
2020-09-11 16:28:43 +02:00
|
|
|
# see https://bugs.launchpad.net/dvdbackup/+bug/1869226
|
|
|
|
patchFlags = [ "-p0" ];
|
|
|
|
patches = [ (fetchpatch {
|
|
|
|
url = "https://git.slackbuilds.org/slackbuilds/plain/multimedia/dvdbackup/patches/dvdbackup-dvdread-6.1.patch";
|
|
|
|
sha256 = "1v3xl01bwq1592i5x5dyh95r0mmm1zvvwf92fgjc0smr0k3davfz";
|
|
|
|
})];
|
|
|
|
|
2016-03-25 04:05:04 +01:00
|
|
|
meta = {
|
|
|
|
description = "A tool to rip video DVDs from the command line";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://dvdbackup.sourceforge.net/";
|
2016-03-25 04:05:04 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bradediger ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-03-25 04:05:04 +01:00
|
|
|
};
|
|
|
|
}
|