1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 15:15:36 +00:00
nixpkgs/pkgs/development/libraries/libmatroska/default.nix
2021-03-14 21:36:29 +01:00

32 lines
723 B
Nix

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