23 stdenv.mkDerivation (finalAttrs: {
24 pname = "taler-exchange";
28 url = "https://git.taler.net/exchange.git";
29 rev = "v${finalAttrs.version}";
30 fetchSubmodules = true;
31 hash = "sha256-elVZUuiIMLOG058n+Egpy9oD9T2sLDC4TUCYZTCi0bw=";
34 patches = [ ./0001-add-TALER_TEMPLATING_init_path.patch ];
50 texinfo # Fix 'makeinfo' is missing on your system.
53 # jq is necessary for some tests and is checked by configure script
57 propagatedBuildInputs = [ gnunet ];
61 ./contrib/gana-generate.sh
65 echo 'dist_amlspapkgdata_DATA = \'
66 find wallet-core/aml-backoffice/ -type f | sort | awk '{print " " $1 " \\" }'
68 # Remove extra '\' at the end of the file
69 truncate -s -2 Makefile.am.ext
73 echo 'dist_kycspapkgdata_DATA = \'
74 find wallet-core/kyc/ -type f | sort | awk '{print " " $1 " \\" }'
76 # Remove extra '\' at the end of the file
77 truncate -s -2 Makefile.am.ext
81 echo 'dist_auditorspapkgdata_DATA = \'
82 find wallet-core/auditor-backoffice/ -type f | sort | awk '{print " " $1 " \\" }'
84 # Remove extra '\' at the end of the file
85 truncate -s -2 Makefile.am.ext
87 cat Makefile.am.in Makefile.am.ext >> Makefile.am
88 # Prevent accidental editing of the generated Makefile.am
93 enableParallelBuilding = true;
95 doInstallCheck = true;
102 checkTarget = "check";
106 Taler is an electronic payment system providing the ability to pay
107 anonymously using digital cash. Taler consists of a network protocol
108 definition (using a RESTful API over HTTP), a Exchange (which creates
109 digital coins), a Wallet (which allows customers to manage, store and
110 spend digital coins), and a Merchant website which allows customers to
111 spend their digital coins. Naturally, each Merchant is different, but
112 Taler includes code examples to help Merchants integrate Taler as a
115 homepage = "https://taler.net/";
116 changelog = "https://git.taler.net/exchange.git/tree/ChangeLog";
117 license = lib.licenses.agpl3Plus;
118 maintainers = with lib.maintainers; [ astro ];
119 platforms = lib.platforms.linux;