1 { lib, stdenv, fetchurl, libdvdread }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/lxdvdrip/lxdvdrip-${version}.tgz";
9 hash = "sha256-OzHrscftsCmJvSw7bb/Z2WDP322VCuQDY58dW2OqxB8=";
13 sed -i -e s,/usr/local,$out, -e s,/etc,$out/etc,g Makefile
14 sed -i -e s,/usr/local,$out, mbuffer/Makefile
15 makeFlags="$makeFlags PREFIX=$out"
19 mkdir -p $out/man/man1 $out/bin $out/share $out/etc
22 buildInputs = [ libdvdread ];
25 broken = (stdenv.isLinux && stdenv.isAarch64);
26 description = "Command line tool to make a copy from a video DVD for private use";
27 homepage = "https://sourceforge.net/projects/lxdvdrip";
28 license = lib.licenses.gpl2;
29 platforms = lib.platforms.linux;