2023-02-16 05:59:02 +01:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "function-runner";
|
2024-02-01 07:14:06 +01:00
|
|
|
version = "4.2.0";
|
2023-02-16 05:59:02 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Shopify";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-02-01 07:14:06 +01:00
|
|
|
sha256 = "sha256-33UVo7mPD/o3Z/R5PFhosiSLFLLpJ0pHqUbKtX6THJE=";
|
2023-02-16 05:59:02 +01:00
|
|
|
};
|
|
|
|
|
2024-02-01 07:14:06 +01:00
|
|
|
cargoHash = "sha256-TNbGmqITCk1VKVuO46LxO+zjAG7Laguq7EAruuhJIxk=";
|
2023-02-16 05:59:02 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A CLI tool which allows you to run Wasm Functions intended for the Shopify Functions infrastructure";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "function-runner";
|
2023-02-16 05:59:02 +01:00
|
|
|
homepage = "https://github.com/Shopify/function-runner";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ nintron ];
|
|
|
|
};
|
|
|
|
}
|