libgnunetchat: init at 0.5.3
NLNet/NGI project. Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
parent
b964000878
commit
e10444995e
59
pkgs/by-name/li/libgnunetchat/package.nix
Normal file
59
pkgs/by-name/li/libgnunetchat/package.nix
Normal file
@ -0,0 +1,59 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchgit,
|
||||
meson,
|
||||
ninja,
|
||||
pkg-config,
|
||||
validatePkgConfig,
|
||||
testers,
|
||||
check,
|
||||
gnunet,
|
||||
libsodium,
|
||||
libgcrypt,
|
||||
libextractor,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
name = "libgnunetchat";
|
||||
version = "0.5.3";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.gnunet.org/libgnunetchat.git";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-DhXPYa8ya9cEbwa4btQTrpjfoTGhzBInWXXH4gmDAQw=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
validatePkgConfig
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
check
|
||||
gnunet
|
||||
libextractor
|
||||
libgcrypt
|
||||
libsodium
|
||||
];
|
||||
|
||||
env.INSTALL_DIR = (placeholder "out") + "/";
|
||||
|
||||
prePatch = "mkdir -p $out/lib";
|
||||
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
|
||||
meta = {
|
||||
pkgConfigModules = [ "gnunetchat" ];
|
||||
description = "Library for secure, decentralized chat using GNUnet network services";
|
||||
homepage = "https://git.gnunet.org/libgnunetchat.git";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.all;
|
||||
teams = with lib.teams; [ ngi ];
|
||||
maintainers = [ lib.maintainers.ethancedwards8 ];
|
||||
};
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user