depot/third_party/nixpkgs/pkgs/development/libraries/libdvdread/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

27 lines
662 B
Nix

{lib, stdenv, fetchurl, libdvdcss}:
stdenv.mkDerivation rec {
pname = "libdvdread";
version = "6.1.3";
src = fetchurl {
url = "http://get.videolan.org/libdvdread/${version}/${pname}-${version}.tar.bz2";
sha256 = "sha256-zjVFSZeiCMvlDpEjLw5z+xrDRxllgToTuHMKjxihU2k=";
};
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 = lib.licenses.gpl2;
maintainers = [ lib.maintainers.wmertens ];
platforms = with lib.platforms; linux ++ darwin;
};
}