2020-06-06 10:20:00 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "go-toml";
|
2021-04-10 12:09:57 +01:00
|
|
|
version = "1.9.0";
|
2020-06-06 10:20:00 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pelletier";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-04-10 12:09:57 +01:00
|
|
|
sha256 = "sha256-m8VgjfNDxSX6fRG2/gEJlVc9hCnua+o79ttrd8P20kU=";
|
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;
|
|
|
|
};
|
|
|
|
}
|