forked from mirrors/nixpkgs
c10c977e00
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mediainfo/versions. These checks were done: - built on NixOS - ran ‘/nix/store/5ckclh9xvqkrp4a329s8w294ggv0mm48-mediainfo-18.05/bin/mediainfo -h’ got 0 exit code - ran ‘/nix/store/5ckclh9xvqkrp4a329s8w294ggv0mm48-mediainfo-18.05/bin/mediainfo --help’ got 0 exit code - directory tree listing: https://gist.github.com/5fa8e019ba53a84987e3b8d9e47a91af
32 lines
1,020 B
Nix
32 lines
1,020 B
Nix
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, libmediainfo, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "18.05";
|
|
name = "mediainfo-${version}";
|
|
src = fetchurl {
|
|
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
|
|
sha256 = "0rgsfplisf729n1j3fyg82wpw88aahisrddn5wq9yx8hz6m96h6r";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
buildInputs = [ libzen libmediainfo zlib ];
|
|
|
|
sourceRoot = "./MediaInfo/Project/GNU/CLI/";
|
|
|
|
configureFlags = [ "--with-libmediainfo=${libmediainfo}" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
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 = https://mediaarea.net/;
|
|
license = licenses.bsd2;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.devhell ];
|
|
};
|
|
}
|