1{ lib, fetchFromGitHub, rustPlatform }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "function-runner";
5 version = "3.4.0";
6
7 src = fetchFromGitHub {
8 owner = "Shopify";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-oQtob1ugjMl8HoaHg9/2fhq8JG0xPU1Ht4OiSLOa96I=";
12 };
13
14 cargoHash = "sha256-sUIbPW9lWirJUxy2AHENbPXYTQ1lkCtH4LyQ2pD4yXI=";
15
16 meta = with lib; {
17 description = "A CLI tool which allows you to run Wasm Functions intended for the Shopify Functions infrastructure";
18 homepage = "https://github.com/Shopify/function-runner";
19 license = licenses.asl20;
20 maintainers = with maintainers; [ nintron ];
21 };
22}