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

31 lines
693 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
2018-07-14 10:44:44 +01:00
, libebml }:
stdenv.mkDerivation rec {
2019-03-26 15:02:20 +00:00
pname = "libmatroska";
2020-08-26 10:53:55 +01:00
version = "1.6.2";
2018-07-14 10:44:44 +01:00
src = fetchFromGitHub {
owner = "Matroska-Org";
repo = "libmatroska";
rev = "release-${version}";
2020-08-26 10:53:55 +01:00
sha256 = "0yhr9hhgljva1fx3b0r4s3wkkypdfgsysbl35a4g3krkbhaa9rsd";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libebml ];
2018-07-14 10:44:44 +01:00
cmakeFlags = [
"-DBUILD_SHARED_LIBS=YES"
];
meta = with lib; {
2015-03-05 20:46:13 +00:00
description = "A library to parse Matroska files";
homepage = "https://matroska.org/";
2015-03-05 20:46:13 +00:00
license = licenses.lgpl21;
2018-07-14 10:44:44 +01:00
maintainers = with maintainers; [ spwhitt ];
2015-03-05 20:46:13 +00:00
platforms = platforms.unix;
};
}