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-12 04:27:31 +00:00
version = "3.2.3";
2023-02-16 04:59:02 +00:00
src = fetchFromGitHub {
owner = "Shopify";
repo = pname;
rev = "v${version}";
2023-03-12 04:27:31 +00:00
sha256 = "sha256-3HhtRzeOgn2fhC7qf95Wy04hI2/d9oReX9r/BTvW5nQ=";
2023-02-16 04:59:02 +00:00
};
2023-03-12 04:27:31 +00:00
cargoHash = "sha256-27QY+QQHR+bK7Sf8I6wWyYMwBZYJbEBe5ZK+zYEansQ=";
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 ];
};
}