default.nix (903B)
1 { 2 lib, 3 stdenv, 4 fetchurl, 5 cmake, 6 meson, 7 ninja, 8 pkg-config, 9 gnunet, 10 libgcrypt, 11 libgnunetchat, 12 libsodium, 13 ncurses, 14 }: 15 16 stdenv.mkDerivation (finalAttrs: { 17 pname = "messenger-cli"; 18 version = "0.3.0"; 19 20 src = fetchurl { 21 url = "mirror://gnu/gnunet/messenger-cli-${finalAttrs.version}.tar.gz"; 22 hash = "sha256-FpZLJibjgZAAeqdQabgCYG0GRPERTAaZ4rjQ71o96nI="; 23 }; 24 25 nativeBuildInputs = [ 26 meson 27 cmake 28 ninja 29 pkg-config 30 ]; 31 32 buildInputs = [ 33 gnunet 34 libgcrypt 35 libgnunetchat 36 libsodium 37 ncurses 38 ]; 39 40 meta = { 41 description = "A CLI for the Messenger service of GNUnet"; 42 homepage = "https://www.gnunet.org/"; 43 changelog = "https://git.gnunet.org/messenger-cli.git/tree/ChangeLog?h=v${finalAttrs.version}"; 44 license = lib.licenses.agpl3Plus; 45 maintainers = [ lib.maintainers.sikmir ]; 46 platforms = lib.platforms.unix; 47 }; 48 })