From d4bdf1a05da143ac57e8a78082f33b2b390e6718 Mon Sep 17 00:00:00 2001 From: Nintron <47835714+Nintron27@users.noreply.github.com> Date: Wed, 15 Feb 2023 23:59:02 -0500 Subject: [PATCH] function-runner: init at 3.2.2 --- .../web/function-runner/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/web/function-runner/default.nix diff --git a/pkgs/development/web/function-runner/default.nix b/pkgs/development/web/function-runner/default.nix new file mode 100644 index 000000000000..71e01aca947e --- /dev/null +++ b/pkgs/development/web/function-runner/default.nix @@ -0,0 +1,22 @@ +{ lib, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "function-runner"; + version = "3.2.2"; + + src = fetchFromGitHub { + owner = "Shopify"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-4uW7gjvQjv10evBeYdRiQFsnA67VAzL74YBNUbVciHg="; + }; + + cargoSha256 = "sha256-EZubfW4PNdBurLk3YJ/BLtDq3zxkQ3YxfWMMBa2TpWU="; + + meta = with lib; { + description = "A CLI tool which allows you to run Wasm Functions intended for the Shopify Functions infrastructure"; + homepage = "https://github.com/Shopify/function-runner"; + license = licenses.asl20; + maintainers = with maintainers; [ nintron ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9a657e77af38..083cab034f80 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19723,6 +19723,8 @@ with pkgs; funambol = callPackage ../development/libraries/funambol { }; + function-runner = callPackage ../development/web/function-runner { }; + functionalplus = callPackage ../development/libraries/functionalplus { }; galer = callPackage ../tools/security/galer { };