nixpkgs/pkgs/development/libraries/libdvdnav/default.nix

25 lines
679 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, pkg-config, libdvdread}:
stdenv.mkDerivation rec {
pname = "libdvdnav";
2020-03-24 14:41:22 +00:00
version = "6.1.0";
src = fetchurl {
url = "http://get.videolan.org/libdvdnav/${version}/${pname}-${version}.tar.bz2";
2020-03-24 14:41:22 +00:00
sha256 = "0nzf1ir27s5vs1jrisdiw9ag2sc160k3gv7nplv9ypppm5gb35zn";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [libdvdread];
meta = {
2020-03-24 14:41:22 +00:00
homepage = "http://dvdnav.mplayerhq.hu/";
description = "A library that implements DVD navigation features such as DVD menus";
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.wmertens ];
platforms = lib.platforms.unix;
};
passthru = { inherit libdvdread; };
}