Merge pull request #89706 from marsam/init-go-toml
go-toml: init at 1.8.0
This commit is contained in:
commit
524e24c9ff
2 changed files with 26 additions and 0 deletions
24
pkgs/development/tools/go-toml/default.nix
Normal file
24
pkgs/development/tools/go-toml/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "go-toml";
|
||||
version = "1.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pelletier";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0fxmjm85c9h43lvqz71wr93fcc63bhj82nwby80222xx8ja63g7y";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/pelletier/go-toml";
|
||||
|
||||
excludedPackages = [ "cmd/tomltestgen" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Go library for the TOML language";
|
||||
homepage = "https://github.com/pelletier/go-toml";
|
||||
maintainers = [ maintainers.marsam ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -17353,6 +17353,8 @@ in
|
|||
|
||||
go-symbols = callPackage ../development/tools/go-symbols { };
|
||||
|
||||
go-toml = callPackage ../development/tools/go-toml { };
|
||||
|
||||
go-outline = callPackage ../development/tools/go-outline { };
|
||||
|
||||
gocode = callPackage ../development/tools/gocode { };
|
||||
|
|
Loading…
Reference in a new issue