mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 15:38:16 +00:00
libcmatrix: init at 0.0.3
This commit is contained in:
parent
623b6129aa
commit
7e555fc8fd
52
pkgs/by-name/li/libcmatrix/package.nix
Normal file
52
pkgs/by-name/li/libcmatrix/package.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{
|
||||
fetchFromGitLab,
|
||||
glib,
|
||||
json-glib,
|
||||
lib,
|
||||
libgcrypt,
|
||||
libsecret,
|
||||
libsoup_3,
|
||||
meson,
|
||||
ninja,
|
||||
olm,
|
||||
pkg-config,
|
||||
sqlite,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libcmatrix";
|
||||
version = "0.0.3";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "source.puri.sm";
|
||||
owner = "Librem5";
|
||||
repo = "libcmatrix";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Usaqkb6zClVtYCL1VUv4iNeKs2GZECO9sOdPk3N8iLM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
json-glib
|
||||
libgcrypt
|
||||
libsecret
|
||||
libsoup_3
|
||||
olm
|
||||
sqlite
|
||||
];
|
||||
|
||||
meta = {
|
||||
changelog = "https://source.puri.sm/Librem5/libcmatrix/-/blob/${finalAttrs.src.tag}/NEWS";
|
||||
description = "Matrix protocol library written in C using GObject";
|
||||
homepage = "https://source.puri.sm/Librem5/libcmatrix";
|
||||
license = lib.licenses.lgpl21Only;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user