2021-01-15 05:42:41 +00:00
|
|
|
{ lib, stdenv, fetchurl, libdvdread }:
|
2010-09-18 17:29:07 +01:00
|
|
|
|
2014-05-18 12:25:43 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2021-11-07 13:50:48 +00:00
|
|
|
pname = "lxdvdrip";
|
|
|
|
version = "1.76";
|
2010-09-18 17:29:07 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-07 13:50:48 +00:00
|
|
|
url = "mirror://sourceforge/lxdvdrip/lxdvdrip-${version}.tgz";
|
2010-09-18 17:29:07 +01:00
|
|
|
sha256 = "0vgslc7dapfrbgslnaicc8bggdccyrvcgjv1dwi19qswhh7jkzj6";
|
|
|
|
};
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
sed -i -e s,/usr/local,$out, -e s,/etc,$out/etc,g Makefile
|
|
|
|
sed -i -e s,/usr/local,$out, buffer/Makefile
|
|
|
|
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 17:29:07 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ libdvdread ];
|
|
|
|
|
2021-01-15 05:42:41 +00:00
|
|
|
meta = {
|
2010-09-18 17:29:07 +01:00
|
|
|
description = "Command line tool to make a copy from a video DVD for private use";
|
2020-04-01 02:11:51 +01: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 17:29:07 +01:00
|
|
|
};
|
|
|
|
}
|