package.nix (932B)
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.1"; 19 20 __structuredAttrs = true; 21 22 src = fetchurl { 23 url = "mirror://gnu/gnunet/messenger-cli-${finalAttrs.version}.tar.gz"; 24 hash = "sha256-Tkpvep2ov6boicTY4iGwi/WV5UiVPkIt1mZjXRnuT4s="; 25 }; 26 27 nativeBuildInputs = [ 28 meson 29 cmake 30 ninja 31 pkg-config 32 ]; 33 34 buildInputs = [ 35 gnunet 36 libgcrypt 37 libgnunetchat 38 libsodium 39 ncurses 40 ]; 41 42 meta = { 43 description = "A CLI for the Messenger service of GNUnet"; 44 homepage = "https://www.gnunet.org/"; 45 changelog = "https://git.gnunet.org/messenger-cli.git/tree/ChangeLog?h=v${finalAttrs.version}"; 46 license = lib.licenses.agpl3Plus; 47 maintainers = [ lib.maintainers.sikmir ]; 48 platforms = lib.platforms.unix; 49 }; 50 })
