forked from mirrors/nixpkgs
Merge pull request #158227 from wahjava/init-goawk
goawk: init at 1.15.0
This commit is contained in:
commit
5d17edb781
25
pkgs/tools/text/goawk/default.nix
Normal file
25
pkgs/tools/text/goawk/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
buildGoModule rec {
|
||||
pname = "goawk";
|
||||
version = "1.15.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "benhoyt";
|
||||
repo = "goawk";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-gd26j6c8ORy0qkeHvwPFLkymeRiFr8MLxJ6hIrBwAZw=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
|
||||
|
||||
# checks do not pass at the moment
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A POSIX-compliant AWK interpreter written in Go";
|
||||
homepage = "https://benhoyt.com/writings/goawk/";
|
||||
license = licenses.mit;
|
||||
mainProgram = "goawk";
|
||||
maintainers = with maintainers; [ abbe ];
|
||||
};
|
||||
}
|
|
@ -3192,6 +3192,8 @@ with pkgs;
|
|||
|
||||
goa = callPackage ../development/tools/goa { };
|
||||
|
||||
goawk = callPackage ../tools/text/goawk { };
|
||||
|
||||
gohai = callPackage ../tools/system/gohai { };
|
||||
|
||||
gorilla-bin = callPackage ../tools/security/gorilla-bin { };
|
||||
|
|
Loading…
Reference in a new issue