Merge pull request #311933 from wegank/sync-init

sync: init at 0.10.1

authored by Aleksana and committed by GitHub 7d58f297 aa07cf9e

+63
+63
pkgs/by-name/sy/sync/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchgit, 5 + autoreconfHook, 6 + libgcrypt, 7 + pkg-config, 8 + curlWithGnuTls, 9 + gnunet, 10 + jansson, 11 + libmicrohttpd, 12 + libsodium, 13 + libtool, 14 + postgresql, 15 + taler-exchange, 16 + taler-merchant, 17 + runtimeShell, 18 + }: 19 + 20 + stdenv.mkDerivation (finalAttrs: { 21 + pname = "sync"; 22 + version = "0.10.1"; 23 + 24 + src = fetchgit { 25 + url = "https://git.taler.net/sync.git"; 26 + rev = "v${finalAttrs.version}"; 27 + hash = "sha256-7EBm4Zp1sjZw7pXxQySY+1It3C/KLG2SHhqUPhDATbg="; 28 + }; 29 + 30 + strictDeps = true; 31 + 32 + nativeBuildInputs = [ 33 + autoreconfHook 34 + libgcrypt 35 + pkg-config 36 + ]; 37 + 38 + buildInputs = [ 39 + curlWithGnuTls 40 + gnunet 41 + jansson 42 + libgcrypt 43 + libmicrohttpd 44 + libsodium 45 + libtool 46 + postgresql 47 + taler-exchange 48 + taler-merchant 49 + ]; 50 + 51 + preFixup = '' 52 + substituteInPlace "$out/bin/sync-dbconfig" \ 53 + --replace-fail "/bin/bash" "${runtimeShell}" 54 + ''; 55 + 56 + meta = { 57 + description = "Backup and synchronization service"; 58 + homepage = "https://git.taler.net/sync.git"; 59 + license = lib.licenses.agpl3Plus; 60 + maintainers = with lib.maintainers; [ wegank ]; 61 + platforms = lib.platforms.linux; 62 + }; 63 + })