mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
32d0d863bc
Local build and run successful. From the ChangeLog: ``` Version 0.7.77, 2015-09-02 + #B941, MXF: files having only a video stream and an ancillary data stream were having incorrect second video stream + MOV: detection of r210 CodecID as raw RGB + Ancillary data: detection of all metadata blocks (previously: only the first one was detected) x MPEG-TS: Wrong demux of TSP (188+16 TS) files having PES with only padding x MediaTrace #2: XML malformed with Flags items (hotfix, flags meaning disabled in XML output) x MediaTrace #3: XML malformed with some MP4 files x MediaTrace #6: XML duplicated attributes x MediaTrace #10: versioned xsd, creating library name and version x MediaTrace: XML content was not escaped x #B947, Amazon S3 support (REST API v2), CLI/DLL only and if compiled with libcurl support: Analyze file on s3 was not working if secret key contains / character ```
30 lines
1 KiB
Nix
30 lines
1 KiB
Nix
{ stdenv, fetchurl, automake, autoconf, libtool, pkgconfig, libzen, libmediainfo, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.7.77";
|
|
name = "mediainfo-${version}";
|
|
src = fetchurl {
|
|
url = "http://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
|
|
sha256 = "0n15z1jlj5s69pwk3mdv4r5c8ncfy7qjbdw5wfwynwypkl5382pn";
|
|
};
|
|
|
|
buildInputs = [ automake autoconf libtool pkgconfig libzen libmediainfo zlib ];
|
|
|
|
sourceRoot = "./MediaInfo/Project/GNU/CLI/";
|
|
|
|
configureFlags = [ "--with-libmediainfo=${libmediainfo}" ];
|
|
preConfigure = "sh autogen.sh";
|
|
|
|
meta = {
|
|
description = "Supplies technical and tag information about a video or audio file";
|
|
longDescription = ''
|
|
MediaInfo is a convenient unified display of the most relevant technical
|
|
and tag data for video and audio files.
|
|
'';
|
|
homepage = http://mediaarea.net/;
|
|
license = stdenv.lib.licenses.bsd2;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
maintainers = [ stdenv.lib.maintainers.devhell ];
|
|
};
|
|
}
|