nixpkgs/pkgs/development/libraries/libdvdnav/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

25 lines
702 B
Nix

{stdenv, fetchurl, pkgconfig, libdvdread}:
stdenv.mkDerivation rec {
name = "libdvdnav-${version}";
version = "5.0.3";
src = fetchurl {
url = "http://get.videolan.org/libdvdnav/${version}/${name}.tar.bz2";
sha256 = "5097023e3d2b36944c763f1df707ee06b19dc639b2b68fb30113a5f2cbf60b6d";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [libdvdread];
meta = {
homepage = http://dvdnav.mplayerhq.hu/;
description = "A library that implements DVD navigation features such as DVD menus";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.wmertens ];
platforms = stdenv.lib.platforms.linux;
};
passthru = { inherit libdvdread; };
}