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