nixpkgs/pkgs/development/libraries/libmediainfo/default.nix
devhell 22da52f28d {lib}mediainfo{-gui}: 0.7.84 -> 0.7.86
From the changelog:
```
Version 0.7.86, 2016-05-31

+ Linux/Mac: more output formats (PBCore, EBUCore, FIMS)
+ FFV1 parsing optimization, avoiding by default a too verbose trace
+ Matroska: more elements support and typo fixes in the trace
+ #I172, Trace feature: provide the name of the main parser in the media element
+ Matroska: consider all values below 0x10 EBML names as 1-byte junk
x Matroska: better support (including speed improvement) of huge lossless frames (e.g. 20 MB FFV1 4K)
x #I144, Python binding: Python 2 on Linux does not automatically provide the locale to the shared object
x HTML output: don't escape carriage returns from the input file
x FFV1: some streams were rejected despite the fact they are valid
x Python binding: some errors during call of Get() API with Python3 on Linux/Mac
```
2016-06-12 16:23:12 +01:00

30 lines
860 B
Nix

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