nixpkgs/pkgs/development/libraries/libmatroska/default.nix

31 lines
691 B
Nix
Raw Normal View History

2018-07-14 11:44:44 +02:00
{ stdenv, fetchFromGitHub, cmake, pkgconfig
, libebml }:
stdenv.mkDerivation rec {
2019-03-26 16:02:20 +01:00
pname = "libmatroska";
version = "1.5.2";
2018-07-14 11:44:44 +02:00
src = fetchFromGitHub {
owner = "Matroska-Org";
repo = "libmatroska";
rev = "release-${version}";
sha256 = "057iib6p62x31g1ikdjsjzmqzjlajqx6p74h7y4r524pzgb27fzy";
};
2018-07-14 11:44:44 +02:00
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ libebml ];
2018-07-14 11:44:44 +02:00
cmakeFlags = [
"-DBUILD_SHARED_LIBS=YES"
];
2015-03-05 21:46:13 +01:00
meta = with stdenv.lib; {
description = "A library to parse Matroska files";
homepage = https://matroska.org/;
2015-03-05 21:46:13 +01:00
license = licenses.lgpl21;
2018-07-14 11:44:44 +02:00
maintainers = with maintainers; [ spwhitt ];
2015-03-05 21:46:13 +01:00
platforms = platforms.unix;
};
}