argo-expr: init at 1.1.3
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
This commit is contained in:
parent
970ac240f3
commit
3047da7e86
36
pkgs/by-name/ar/argo-expr/package.nix
Normal file
36
pkgs/by-name/ar/argo-expr/package.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "argo-expr";
|
||||
version = "1.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "blacha";
|
||||
repo = "argo-expr";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-XQnPFzT3PRmKeAQXLzBE5R2VvXotzxmsq+u9u5iE1QA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-HGmJVxmAj9ijsWX+qJ7J9l3uO7WvXtRU2gvx2G7N7/M=";
|
||||
|
||||
ldflags = [ "-X main.Version=v${version}" ];
|
||||
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Argo expression tester";
|
||||
homepage = "https://github.com/blacha/argo-expr";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ l0b0 ];
|
||||
mainProgram = "argo-expr";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user