2023-02-16 17:41:37 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "function-runner";
|
2024-06-24 18:47:55 +00:00
|
|
|
version = "5.1.2";
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Shopify";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-06-24 18:47:55 +00:00
|
|
|
sha256 = "sha256-D8XqWVgW2pdNDwgWTpDG5FXlVHTWyKSx6ugJ9eqOl0U=";
|
2023-02-16 17:41:37 +00:00
|
|
|
};
|
|
|
|
|
2024-06-24 18:47:55 +00:00
|
|
|
cargoHash = "sha256-F+QArzUBgCg7yWL3Vcn+u+G/Hi6OmArCBB+4yYQYIVY=";
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "CLI tool which allows you to run Wasm Functions intended for the Shopify Functions infrastructure";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "function-runner";
|
2023-02-16 17:41:37 +00:00
|
|
|
homepage = "https://github.com/Shopify/function-runner";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ nintron ];
|
|
|
|
};
|
|
|
|
}
|