Skip to content

Commit

Permalink
Merge pull request #99 from ngi-nix/sync.git
Browse files Browse the repository at this point in the history
taler sync: init at 0.9.3
  • Loading branch information
lorenzleutgeb authored Dec 21, 2023
2 parents b2b39aa + 19f6949 commit 2b2917b
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions pkgs/by-name/sync/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
lib,
stdenv,
fetchgit,
autoreconfHook,
curl,
gnunet,
jansson,
libgcrypt,
libmicrohttpd,
libsodium,
pkg-config,
postgresql,
taler-exchange,
taler-merchant,
callPackage,
}: let
version = "0.9.3";
in
stdenv.mkDerivation {
name = "sync";
inherit version;

src = fetchgit {
url = "https://git.taler.net/sync.git";
rev = "v${version}";
hash = "sha256-u4oR9zCBpBSqKFIhm+pLTH83tPLvYULt8FhDyTsP7m4=";
};

nativeBuildInputs = [
autoreconfHook
curl
taler-exchange
taler-merchant
gnunet
jansson
libgcrypt
libmicrohttpd
libsodium
pkg-config
postgresql
];

# Tests run with `make check`.
doCheck = false; # `test_sync_api` looks like an integration test

meta = {
homepage = "https://git.taler.net/sync.git";
description = "Backup and synchronization service.";
license = lib.licenses.agpl3Plus;
};
}

0 comments on commit 2b2917b

Please sign in to comment.