2020-06-18 07:06:33 +00:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "go-toml";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "1.9.3";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pelletier";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "sha256-Vu/PS01JeSeg1KHkpqL12rTjRJFoc9rla48H/ei2HDM=";
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|