at 24.11-pre 690 B view raw
1{ lib, fetchFromGitHub, rustPlatform }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "function-runner"; 5 version = "5.0.0"; 6 7 src = fetchFromGitHub { 8 owner = "Shopify"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-Li3v3kXze0KgK16XVwdshZWaRF89YSC1Yk9iHXfGWKI="; 12 }; 13 14 cargoHash = "sha256-jPiy4ULEfF/aRhWV1j2SOIe2u9uctEsmzWQ6MLXRu7A="; 15 16 meta = with lib; { 17 description = "A 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}