nixpkgs/pkgs/development/libraries/libmediainfo/default.nix
R. RyanTM 5d78859c15 libmediainfo: 18.03.1 -> 18.05
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/libmediainfo/versions.

These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 18.05 with grep in /nix/store/5qyyi56b38pqwkrz245xv8skn3bsflzg-libmediainfo-18.05
- directory tree listing: https://gist.github.com/74cf8ceacead58990e67775b627a172a
- du listing: https://gist.github.com/a515ce2cc6f6d9f886c1948aa1d3e561
2018-05-14 01:53:22 -07:00

32 lines
895 B
Nix

{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, zlib }:
stdenv.mkDerivation rec {
version = "18.05";
name = "libmediainfo-${version}";
src = fetchurl {
url = "https://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz";
sha256 = "08ajrmbvqn2cvfq3jjdh64lma77kx4di5vg632c6bmbir89rcxbn";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libzen zlib ];
sourceRoot = "./MediaInfoLib/Project/GNU/Library/";
configureFlags = [ "--enable-shared" ];
enableParallelBuilding = true;
postInstall = ''
install -vD -m 644 libmediainfo.pc "$out/lib/pkgconfig/libmediainfo.pc"
'';
meta = with stdenv.lib; {
description = "Shared library for mediainfo";
homepage = https://mediaarea.net/;
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = [ maintainers.devhell ];
};
}