Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
61 lines
1.2 KiB
Nix
61 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchgit,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
validatePkgConfig,
|
|
testers,
|
|
check,
|
|
gnunet,
|
|
libsodium,
|
|
libgcrypt,
|
|
libextractor,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
name = "libgnunetchat";
|
|
version = "0.6.0";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.gnunet.org/libgnunetchat.git";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-pRO8i7tHynCqm97RLMBOiWKCl2CAYBE6RXfyIljIiQ0=";
|
|
};
|
|
|
|
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";
|
|
changelog = "https://git.gnunet.org/libgnunetchat.git/plain/ChangeLog?h=v${finalAttrs.version}";
|
|
license = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.all;
|
|
teams = with lib.teams; [ ngi ];
|
|
maintainers = [ lib.maintainers.ethancedwards8 ];
|
|
};
|
|
})
|