Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 libdvdread, 7}: 8 9stdenv.mkDerivation rec { 10 pname = "libdvdnav"; 11 version = "6.1.1"; 12 13 src = fetchurl { 14 url = "http://get.videolan.org/libdvdnav/${version}/${pname}-${version}.tar.bz2"; 15 sha256 = "sha256-wZGnR1lH0yP/doDPksD7G+gjdwGIXzdlbGTQTpjRjUg="; 16 }; 17 18 nativeBuildInputs = [ pkg-config ]; 19 buildInputs = [ libdvdread ]; 20 21 meta = { 22 homepage = "http://dvdnav.mplayerhq.hu/"; 23 description = "Library that implements DVD navigation features such as DVD menus"; 24 license = lib.licenses.gpl2; 25 maintainers = [ lib.maintainers.wmertens ]; 26 platforms = lib.platforms.unix; 27 }; 28 29 passthru = { inherit libdvdread; }; 30}