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-09-28 02:40:40 +00:00
version = "4.0.0";
2023-02-16 04:59:02 +00:00
src = fetchFromGitHub {
owner = "Shopify";
repo = pname;
rev = "v${version}";
2023-09-28 02:40:40 +00:00
sha256 = "sha256-cKlzv9mL6UGXHvYbQR4OcZgdjZLV5Q7EoQbW7Fx8ESo=";
2023-02-16 04:59:02 +00:00
};
2023-09-28 02:40:40 +00:00
cargoHash = "sha256-/4/zaeNQ45YYBILxm11qD9rPFZxilA8kLoyWG370Knk=";
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 ];
};
}