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 { };