nixpkgs/pkgs/development/web/function-runner/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
653 B
Nix
Raw Normal View History

2023-02-16 04:59:02 +00:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "function-runner";
2023-03-30 01:11:32 +00:00
version = "3.2.4";
2023-02-16 04:59:02 +00:00
src = fetchFromGitHub {
owner = "Shopify";
repo = pname;
rev = "v${version}";
2023-03-30 01:11:32 +00:00
sha256 = "sha256-wppEnNsh8E8GY7iAQUNnaAqmoRZynD0s23xaOVig8vY=";
2023-02-16 04:59:02 +00:00
};
2023-03-30 01:11:32 +00:00
cargoHash = "sha256-D5oEAHB/1EIsE83b+Ph4LZzbag0qZB3Bz2/Rc3NXRtI=";
2023-02-16 04:59:02 +00:00
meta = with lib; {
description = "A CLI tool which allows you to run Wasm Functions intended for the Shopify Functions infrastructure";
homepage = "https://github.com/Shopify/function-runner";
license = licenses.asl20;
maintainers = with maintainers; [ nintron ];
};
}