mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
df141c291b
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS /tmp/tmp.VPeJUrg2fP /home/ryantm/.cache/nixpkgs /home/ryantm/.cache/nixpkgs - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 6.0.0 with grep in /nix/store/dr0ps08716fhniggawzg9f9s7d74r8v7-libdvdread-6.0.0 - directory tree listing: https://gist.github.com/63bc02c878936a5428bbd234fd6c26c8
28 lines
675 B
Nix
28 lines
675 B
Nix
{stdenv, fetchurl, libdvdcss}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libdvdread-${version}";
|
|
version = "6.0.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://get.videolan.org/libdvdread/${version}/${name}.tar.bz2";
|
|
sha256 = "0dgr23fzcjhb7ck54xkr9zmf4jcq3ph0dz3fbyvla1c6ni9ijfxk";
|
|
};
|
|
|
|
buildInputs = [libdvdcss];
|
|
|
|
NIX_LDFLAGS = "-ldvdcss";
|
|
|
|
postInstall = ''
|
|
ln -s dvdread $out/include/libdvdread
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://dvdnav.mplayerhq.hu/;
|
|
description = "A library for reading DVDs";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = [ stdenv.lib.maintainers.wmertens ];
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
|
};
|
|
}
|