mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
ae6fcf3703
Semi-automatic update. These checks were performed: - built on NixOS - found 1.4.1 with grep in /nix/store/vc0dcpqiashz0c0ihd4n2bj7jhawnpf3-libdvdcss-1.4.1 - found 1.4.1 in filename of file in /nix/store/vc0dcpqiashz0c0ihd4n2bj7jhawnpf3-libdvdcss-1.4.1
21 lines
567 B
Nix
21 lines
567 B
Nix
{stdenv, fetchurl, IOKit}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libdvdcss-${version}";
|
|
version = "1.4.1";
|
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin IOKit;
|
|
|
|
src = fetchurl {
|
|
url = "http://get.videolan.org/libdvdcss/${version}/${name}.tar.bz2";
|
|
sha256 = "1b7awvyahivglp7qmgx2g5005kc5npv257gw7wxdprjsnx93f1zb";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.videolan.org/developers/libdvdcss.html;
|
|
description = "A library for decrypting DVDs";
|
|
license = licenses.gpl2;
|
|
platforms = with platforms; linux ++ darwin;
|
|
};
|
|
}
|