about summary refs log tree commit diff
path: root/pkgs/development/web/function-runner
diff options
context:
space:
mode:
authorNintron <47835714+Nintron27@users.noreply.github.com>2023-02-15 23:59:02 -0500
committerNintron <47835714+Nintron27@users.noreply.github.com>2023-02-15 23:59:02 -0500
commitd4bdf1a05da143ac57e8a78082f33b2b390e6718 (patch)
tree1bbdd7367728d7bafb61dc8c87490c49e5608d84 /pkgs/development/web/function-runner
parent3fa7016274af7b26782c735e7cbe518a02ea9dcf (diff)
function-runner: init at 3.2.2
Diffstat (limited to 'pkgs/development/web/function-runner')
-rw-r--r--pkgs/development/web/function-runner/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/development/web/function-runner/default.nix b/pkgs/development/web/function-runner/default.nix
new file mode 100644
index 0000000000000..71e01aca947e3
--- /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 ];
+  };
+}