libgnunetchat: init at 0.5.3

NLNet/NGI project.

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

+59
+59
pkgs/by-name/li/libgnunetchat/package.nix
···
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchgit, 5 + meson, 6 + ninja, 7 + pkg-config, 8 + validatePkgConfig, 9 + testers, 10 + check, 11 + gnunet, 12 + libsodium, 13 + libgcrypt, 14 + libextractor, 15 + }: 16 + 17 + stdenv.mkDerivation (finalAttrs: { 18 + name = "libgnunetchat"; 19 + version = "0.5.3"; 20 + 21 + src = fetchgit { 22 + url = "https://git.gnunet.org/libgnunetchat.git"; 23 + tag = "v${finalAttrs.version}"; 24 + hash = "sha256-DhXPYa8ya9cEbwa4btQTrpjfoTGhzBInWXXH4gmDAQw="; 25 + }; 26 + 27 + strictDeps = true; 28 + 29 + nativeBuildInputs = [ 30 + meson 31 + ninja 32 + pkg-config 33 + validatePkgConfig 34 + ]; 35 + 36 + buildInputs = [ 37 + check 38 + gnunet 39 + libextractor 40 + libgcrypt 41 + libsodium 42 + ]; 43 + 44 + env.INSTALL_DIR = (placeholder "out") + "/"; 45 + 46 + prePatch = "mkdir -p $out/lib"; 47 + 48 + passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 49 + 50 + meta = { 51 + pkgConfigModules = [ "gnunetchat" ]; 52 + description = "Library for secure, decentralized chat using GNUnet network services"; 53 + homepage = "https://git.gnunet.org/libgnunetchat.git"; 54 + license = lib.licenses.gpl3Plus; 55 + platforms = lib.platforms.all; 56 + teams = with lib.teams; [ ngi ]; 57 + maintainers = [ lib.maintainers.ethancedwards8 ]; 58 + }; 59 + })