mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
1800e3ca5c
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libdvdread/versions
28 lines
675 B
Nix
28 lines
675 B
Nix
{stdenv, fetchurl, libdvdcss}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libdvdread-${version}";
|
|
version = "6.0.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://get.videolan.org/libdvdread/${version}/${name}.tar.bz2";
|
|
sha256 = "1gfmh8ii3s2fw1c8vn57piwxc0smd3va4h7xgp9s8g48cc04zki8";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|