22 stdenv.mkDerivation (finalAttrs: {
23 pname = "taler-challenger";
27 url = "https://git.taler.net/challenger.git";
28 rev = "v${finalAttrs.version}";
29 hash = "sha256-OlUgE40Qo7on9VaMGKJ/MRWActDBqPe7Ja95dv1OFhA=";
32 # https://git.taler.net/challenger.git/tree/bootstrap
34 # Generate Makefile.am in contrib/
37 find wallet-core/challenger/ -type f -printf ' %p \\\n' | sort > Makefile.am.ext
38 # Remove extra '\' at the end of the file
39 truncate -s -2 Makefile.am.ext
40 cat Makefile.am.in Makefile.am.ext >> Makefile.am
41 # Prevent accidental editing of the generated Makefile.am
70 substituteInPlace $out/bin/challenger-{dbconfig,send-post.sh} \
71 --replace-fail "/bin/bash" "${runtimeShell}"
75 description = "OAuth 2.0-based authentication service that validates user can receive messages at a certain address";
76 homepage = "https://git.taler.net/challenger.git";
77 license = lib.licenses.agpl3Plus;
78 maintainers = with lib.maintainers; [ wegank ];
79 platforms = lib.platforms.linux;