diff --git a/pkgs/by-name/taler-mdb/package.nix b/pkgs/by-name/taler-mdb/package.nix new file mode 100644 index 00000000..352d1356 --- /dev/null +++ b/pkgs/by-name/taler-mdb/package.nix @@ -0,0 +1,55 @@ +{ + autoreconfHook, + curl, + fetchgit, + gnunet, + jansson, + lib, + libgcrypt, + libmicrohttpd, + libnfc, + libsodium, + pkg-config, + stdenv, + taler-exchange, + taler-merchant, + qrencode, +}: let + version = "0.9.3"; +in + stdenv.mkDerivation { + inherit version; + pname = "taler-mdb"; + + src = fetchgit { + url = "https://git.taler.net/taler-mdb.git"; + rev = "v${version}"; + hash = "sha256-tzJsWAT0k4TldPiI4/yDvbfIBmuBdTrz6o5EHNyfWhs="; + }; + + nativeBuildInputs = [ + autoreconfHook + pkg-config + ]; + + buildInputs = [ + curl + gnunet + jansson + libgcrypt + libmicrohttpd + libnfc + libsodium + qrencode + taler-exchange + taler-merchant + ]; + + doInstallCheck = true; + + meta = { + homepage = "https://git.taler.net/taler-mdb.git"; + description = "Sales integration with the Multi-Drop-Bus of Snack machines, NFC readers and QR code display."; + license = lib.licenses.agpl3Plus; + }; + }