about summary refs log tree commit diff
path: root/pkgs/tools/cd-dvd/vobcopy/default.nix
blob: 4b74ffbc8ad29a5d2fb3151374b2440ed93bba1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, stdenv, fetchurl, libdvdread, libdvdcss }:

stdenv.mkDerivation rec {
  pname = "vobcopy";
  version = "1.2.0";

  src = fetchurl {
    url = "http://www.vobcopy.org/download/vobcopy-${version}.tar.bz2";
    sha256 = "01l1yihbd73srzghzzx5dgfg3yfb5kml5dix52mq0snhjp8h89c9";
  };

  buildInputs = [libdvdread libdvdcss];
  makeFlags   = [ "DESTDIR=$(out)" "PREFIX=/" ];

  meta = {
    description = "Copies DVD .vob files to harddisk, decrypting them on the way";
    homepage = "http://vobcopy.org/projects/c/c.shtml";
    license = lib.licenses.gpl2Plus;

    maintainers = [ lib.maintainers.bluescreen303 ];
    platforms = lib.platforms.all;
    mainProgram = "vobcopy";
  };
}