yaegi: init at 0.15.1

https://github.com/traefik/yaegi
This commit is contained in:
figsoda 2023-08-11 12:21:24 -04:00
parent 981171662b
commit 44759783f5
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, buildGoModule
, fetchFromGitHub
, testers
, yaegi
}:
buildGoModule rec {
pname = "yaegi";
version = "0.15.1";
src = fetchFromGitHub {
owner = "traefik";
repo = "yaegi";
rev = "v${version}";
hash = "sha256-ZV1HidHJvwum18QIIwQiCcRcitZdHk5+FxkPs6YgDac=";
};
vendorHash = null;
subPackages = [
"cmd/yaegi"
];
ldflags = [
"-s"
"-w"
"-X=main.version=${version}"
];
passthru.tests = {
version = testers.testVersion {
package = yaegi;
command = "yaegi version";
};
};
meta = with lib; {
description = "A Go interpreter";
homepage = "https://github.com/traefik/yaegi";
changelog = "https://github.com/traefik/yaegi/releases/tag/${src.rev}";
license = licenses.asl20;
maintainers = with maintainers; [ figsoda ];
};
}

View File

@ -18078,6 +18078,8 @@ with pkgs;
wasm3 = callPackage ../development/interpreters/wasm3 { };
yaegi = callPackage ../development/interpreters/yaegi { };
yex-lang = callPackage ../development/interpreters/yex-lang { };
### DEVELOPMENT / MISC