Files
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

57 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchgit,
meson,
ninja,
pkg-config,
gnunet,
libsodium,
libgcrypt,
libgnunetchat,
ncurses,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gnunet-messenger-cli";
version = "0.3.1";
src = fetchgit {
url = "https://git.gnunet.org/messenger-cli.git";
tag = "v${finalAttrs.version}";
hash = "sha256-8Iby3IZXEZJ1dqVV62xDzXx/qq7JKhVtn6ZLb697ZSw=";
};
env.INSTALL_DIR = (placeholder "out") + "/";
strictDeps = true;
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
gnunet
libgcrypt
libgnunetchat
libsodium
ncurses
];
preInstall = "mkdir -p $out/bin";
preFixup = "mv $out/bin/messenger-cli $out/bin/gnunet-messenger-cli";
meta = {
description = "Decentralized, privacy-preserving networking framework for secure peer-to-peer communication";
homepage = "https://git.gnunet.org/messenger-cli.git";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.all;
teams = with lib.teams; [ ngi ];
maintainers = [ lib.maintainers.ethancedwards8 ];
mainProgram = "gnunet-messenger-cli";
};
})