gnunet-messenger-cli: init at 0.3.1

NLNet/ngi project.

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>

+56
+56
pkgs/by-name/gn/gnunet-messenger-cli/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchgit, 5 + meson, 6 + ninja, 7 + pkg-config, 8 + gnunet, 9 + libsodium, 10 + libgcrypt, 11 + libgnunetchat, 12 + ncurses, 13 + }: 14 + 15 + stdenv.mkDerivation (finalAttrs: { 16 + pname = "gnunet-messenger-cli"; 17 + version = "0.3.1"; 18 + 19 + src = fetchgit { 20 + url = "https://git.gnunet.org/messenger-cli.git"; 21 + tag = "v${finalAttrs.version}"; 22 + hash = "sha256-8Iby3IZXEZJ1dqVV62xDzXx/qq7JKhVtn6ZLb697ZSw="; 23 + }; 24 + 25 + env.INSTALL_DIR = (placeholder "out") + "/"; 26 + 27 + strictDeps = true; 28 + 29 + nativeBuildInputs = [ 30 + meson 31 + ninja 32 + pkg-config 33 + ]; 34 + 35 + buildInputs = [ 36 + gnunet 37 + libgcrypt 38 + libgnunetchat 39 + libsodium 40 + ncurses 41 + ]; 42 + 43 + preInstall = "mkdir -p $out/bin"; 44 + 45 + preFixup = "mv $out/bin/messenger-cli $out/bin/gnunet-messenger-cli"; 46 + 47 + meta = { 48 + description = "Decentralized, privacy-preserving networking framework for secure peer-to-peer communication"; 49 + homepage = "https://git.gnunet.org/messenger-cli.git"; 50 + license = lib.licenses.gpl3Plus; 51 + platforms = lib.platforms.all; 52 + teams = with lib.teams; [ ngi ]; 53 + maintainers = [ lib.maintainers.ethancedwards8 ]; 54 + mainProgram = "gnunet-messenger-cli"; 55 + }; 56 + })