a3b98b1c2f
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.03.1 with grep in /nix/store/6q9709wh9dins0xbp9cp9yc9w1vj29ja-libmediainfo-18.03.1 - directory tree listing: https://gist.github.com/433043833de962c7cbb5237224bdc026
32 lines
897 B
Nix
32 lines
897 B
Nix
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "18.03.1";
|
|
name = "libmediainfo-${version}";
|
|
src = fetchurl {
|
|
url = "https://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz";
|
|
sha256 = "183gcb6h81blgvssfl5lxsv8h5izkgg6b86z0jy9g699adgkchq2";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|