diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libdvdnav/4.2.1.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libdvdnav/4.2.1.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libdvdnav/4.2.1.nix b/nixpkgs/pkgs/development/libraries/libdvdnav/4.2.1.nix new file mode 100644 index 000000000000..1f832de5bb3b --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libdvdnav/4.2.1.nix @@ -0,0 +1,29 @@ +{lib, stdenv, fetchurl, pkg-config, libdvdread}: + +stdenv.mkDerivation { + name = "libdvdnav-4.2.1"; + + src = fetchurl { + url = "http://dvdnav.mplayerhq.hu/releases/libdvdnav-4.2.1.tar.xz"; + sha256 = "7fca272ecc3241b6de41bbbf7ac9a303ba25cb9e0c82aa23901d3104887f2372"; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [libdvdread]; + + configureScript = "./configure2"; # wtf? + + preConfigure = '' + mkdir -p $out + ''; + + meta = { + 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.linux; + }; + + passthru = { inherit libdvdread; }; +} |