pkgs: add yeagi
This commit is contained in:
parent
c7eb0bb08b
commit
a3f25464ea
@ -248,6 +248,7 @@
|
||||
inherit pkgs;
|
||||
isUnstable = true;
|
||||
};
|
||||
yaegi = pkgs.callPackage ./pkgs/yaegi.nix { inherit pkgs; };
|
||||
yarr = pkgs.callPackage ./pkgs/yarr.nix {
|
||||
inherit pkgs;
|
||||
isUnstable = true;
|
||||
|
22
pkgs/yaegi.nix
Normal file
22
pkgs/yaegi.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, ... }:
|
||||
with lib;
|
||||
buildGoModule rec {
|
||||
pname = "yaegi";
|
||||
version = "0.15.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "traefik";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-++WA6Xdo9YuMQgCL/c485LgKeV4XeodVZBBYCBsmh+M=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
meta = {
|
||||
description = "Yaegi is Another Elegant Go Interpreter";
|
||||
homepage = "https://github.com/traefik/yaegi";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ qbit ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user