3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libdvdread/default.nix

28 lines
679 B
Nix
Raw Normal View History

{stdenv, fetchurl, libdvdcss}:
stdenv.mkDerivation rec {
pname = "libdvdread";
2020-05-05 19:25:54 +01:00
version = "6.1.1";
src = fetchurl {
url = "http://get.videolan.org/libdvdread/${version}/${pname}-${version}.tar.bz2";
2020-05-05 19:25:54 +01:00
sha256 = "15hpwbw3nm84y432l0j61w0zmqxplsyymfc52dry6nvwl44p6d9y";
};
buildInputs = [libdvdcss];
NIX_LDFLAGS = "-ldvdcss";
postInstall = ''
ln -s dvdread $out/include/libdvdread
'';
meta = {
2020-03-24 15:32:53 +00:00
homepage = "http://dvdnav.mplayerhq.hu/";
description = "A library for reading DVDs";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.wmertens ];
2017-04-20 22:42:43 +01:00
platforms = with stdenv.lib.platforms; linux ++ darwin;
};
}