Skip to content

Commit

Permalink
Merge pull request NixOS#97776 from woffs/dvdbackup
Browse files Browse the repository at this point in the history
dvdbackup: fix build with libdvdread >= 6.1.0
  • Loading branch information
Lassulus authored Sep 25, 2020
2 parents 1d916fa + e8d1a48 commit 0fd8186
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkgs/applications/video/dvdbackup/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libdvdread, libdvdcss, dvdauthor }:
{ stdenv, fetchurl, fetchpatch, libdvdread, libdvdcss, dvdauthor }:

stdenv.mkDerivation rec {
version = "0.4.2";
Expand All @@ -11,6 +11,13 @@ stdenv.mkDerivation rec {

buildInputs = [ libdvdread libdvdcss dvdauthor ];

# 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";
})];

meta = {
description = "A tool to rip video DVDs from the command line";
homepage = "http://dvdbackup.sourceforge.net/";
Expand Down

0 comments on commit 0fd8186

Please sign in to comment.