Files
nixpkgs/pkgs/by-name/ta/taler-sync/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

65 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchgit,
autoreconfHook,
libgcrypt,
pkg-config,
curlWithGnuTls,
gnunet,
jansson,
libmicrohttpd,
libpq,
libsodium,
libtool,
taler-exchange,
taler-merchant,
runtimeShell,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "taler-sync";
version = "1.0.0";
src = fetchgit {
url = "https://git.taler.net/sync.git";
tag = "v${finalAttrs.version}";
hash = "sha256-di+AgCCgOTvzR6Fberz1ISo6ZT+OsKikeNCU2HZHSz4=";
};
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
libgcrypt
pkg-config
];
buildInputs = [
curlWithGnuTls
gnunet
jansson
libgcrypt
libmicrohttpd
libpq
libsodium
libtool
taler-exchange
taler-merchant
];
preFixup = ''
substituteInPlace "$out/bin/sync-dbconfig" \
--replace-fail "/bin/bash" "${runtimeShell}"
'';
meta = {
description = "Backup and synchronization service";
homepage = "https://git.taler.net/sync.git";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ wegank ];
teams = with lib.teams; [ ngi ];
platforms = lib.platforms.linux;
};
})