mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
25 lines
691 B
Nix
25 lines
691 B
Nix
{stdenv, fetchurl, pkgconfig, libdvdread}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libdvdnav";
|
|
version = "6.0.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://get.videolan.org/libdvdnav/${version}/${pname}-${version}.tar.bz2";
|
|
sha256 = "062njcksmpgw9yv3737qkf93r2pzhaxi9szqjabpa8d010dp38ph";
|
|
};
|
|
|
|
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.unix;
|
|
};
|
|
|
|
passthru = { inherit libdvdread; };
|
|
}
|