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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
701 B
Nix
Raw Normal View History

2022-10-19 10:46:44 +00:00
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config }:
stdenv.mkDerivation rec {
2019-03-26 14:56:46 +00:00
pname = "libebml";
2022-10-19 10:46:44 +00:00
version = "1.4.4";
2018-07-14 09:44:18 +00:00
src = fetchFromGitHub {
owner = "Matroska-Org";
repo = "libebml";
rev = "release-${version}";
2022-10-19 10:46:44 +00:00
sha256 = "sha256-36SfZUHJ2sIvrrHox583cQqfWWcrL2zW1IHzgDchC9g=";
};
nativeBuildInputs = [ cmake pkg-config ];
2018-07-14 09:44:18 +00:00
cmakeFlags = [
"-DBUILD_SHARED_LIBS=YES"
2021-03-14 20:33:45 +00:00
"-DCMAKE_INSTALL_PREFIX="
2018-07-14 09:44:18 +00:00
];
meta = with lib; {
description = "Extensible Binary Meta Language library";
homepage = "https://dl.matroska.org/downloads/libebml/";
2018-07-14 09:44:18 +00:00
license = licenses.lgpl21;
maintainers = with maintainers; [ spwhitt ];
2015-02-28 15:35:52 +00:00
platforms = platforms.unix;
};
}