2021-01-15 05:42:41 +00:00
|
|
|
{ lib, stdenv, fetchurl, libdvdread }:
|
2010-09-18 16:29:07 +00:00
|
|
|
|
2014-05-18 11:25:43 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-11-07 13:50:48 +00:00
|
|
|
pname = "lxdvdrip";
|
2023-06-14 08:27:08 +00:00
|
|
|
version = "1.77";
|
2010-09-18 16:29:07 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-07 13:50:48 +00:00
|
|
|
url = "mirror://sourceforge/lxdvdrip/lxdvdrip-${version}.tgz";
|
2023-06-14 08:27:08 +00:00
|
|
|
hash = "sha256-OzHrscftsCmJvSw7bb/Z2WDP322VCuQDY58dW2OqxB8=";
|
2010-09-18 16:29:07 +00:00
|
|
|
};
|
|
|
|
|
2023-06-14 08:27:08 +00:00
|
|
|
postPatch = ''
|
2010-09-18 16:29:07 +00:00
|
|
|
sed -i -e s,/usr/local,$out, -e s,/etc,$out/etc,g Makefile
|
2023-06-14 08:27:08 +00:00
|
|
|
sed -i -e s,/usr/local,$out, mbuffer/Makefile
|
2010-09-18 16:29:07 +00:00
|
|
|
makeFlags="$makeFlags PREFIX=$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/man/man1 $out/bin $out/share $out/etc
|
2010-09-18 16:29:07 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ libdvdread ];
|
|
|
|
|
2021-01-15 05:42:41 +00:00
|
|
|
meta = {
|
2022-05-29 09:37:28 +00:00
|
|
|
broken = (stdenv.isLinux && stdenv.isAarch64);
|
2010-09-18 16:29:07 +00:00
|
|
|
description = "Command line tool to make a copy from a video DVD for private use";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/lxdvdrip";
|
2021-01-15 05:42:41 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2010-09-18 16:29:07 +00:00
|
|
|
};
|
|
|
|
}
|