nixpkgs-suyu/pkgs/development/libraries/libmatroska/default.nix
Ivan Kozik 3c54135a8b libmatroska: 1.5.0 -> 1.5.2
Fixes the build, broken by https://github.com/NixOS/nixpkgs/pull/62459
(libmatroska 1.5.0 expects libebml 1.3.7)
2019-06-05 13:28:13 +00:00

30 lines
691 B
Nix

{ stdenv, fetchFromGitHub, cmake, pkgconfig
, libebml }:
stdenv.mkDerivation rec {
pname = "libmatroska";
version = "1.5.2";
src = fetchFromGitHub {
owner = "Matroska-Org";
repo = "libmatroska";
rev = "release-${version}";
sha256 = "057iib6p62x31g1ikdjsjzmqzjlajqx6p74h7y4r524pzgb27fzy";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libebml ];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=YES"
];
meta = with stdenv.lib; {
description = "A library to parse Matroska files";
homepage = https://matroska.org/;
license = licenses.lgpl21;
maintainers = with maintainers; [ spwhitt ];
platforms = platforms.unix;
};
}