nixpkgs/pkgs/development/libraries/libmatroska/default.nix
2019-03-26 10:12:04 -05:00

31 lines
691 B
Nix

{ stdenv, fetchFromGitHub, cmake, pkgconfig
, libebml }:
stdenv.mkDerivation rec {
pname = "libmatroska";
version = "1.5.0";
src = fetchFromGitHub {
owner = "Matroska-Org";
repo = "libmatroska";
rev = "release-${version}";
sha256 = "01kp48ih9pqkm518ylbxicjmknqvb3njb71il2h2wa37whsaals8";
};
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;
};
}