2020-06-06 10:20:00 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "go-toml";
|
2021-09-14 10:34:47 +01:00
|
|
|
version = "1.9.4";
|
2020-06-06 10:20:00 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pelletier";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-09-14 10:34:47 +01:00
|
|
|
sha256 = "sha256-1ENmSeo3TtTvhgwtbmq+O9n9fD/FqSUiCrSplkJNTTg=";
|
2020-06-06 10:20:00 +01: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;
|
|
|
|
};
|
|
|
|
}
|