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