xin/pkgs/yaegi.nix

28 lines
552 B
Nix
Raw Permalink Normal View History

2023-07-11 09:12:50 -06:00
{
lib,
buildGoModule,
fetchFromGitHub,
...
}:
2023-02-08 13:39:58 -07:00
with lib;
2023-07-11 09:12:50 -06:00
buildGoModule rec {
pname = "yaegi";
version = "0.15.0";
2023-02-08 13:39:58 -07:00
2023-07-11 09:12:50 -06:00
src = fetchFromGitHub {
owner = "traefik";
repo = pname;
rev = "v${version}";
sha256 = "sha256-++WA6Xdo9YuMQgCL/c485LgKeV4XeodVZBBYCBsmh+M=";
};
2023-02-08 13:39:58 -07:00
2023-07-11 09:12:50 -06:00
vendorHash = null;
2023-02-08 13:39:58 -07:00
2023-07-11 09:12:50 -06:00
meta = {
description = "Yaegi is Another Elegant Go Interpreter";
homepage = "https://github.com/traefik/yaegi";
license = licenses.asl20;
maintainers = with maintainers; [qbit];
};
}