mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
3c54135a8b
Fixes the build, broken by https://github.com/NixOS/nixpkgs/pull/62459 (libmatroska 1.5.0 expects libebml 1.3.7)
31 lines
691 B
Nix
31 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;
|
|
};
|
|
}
|