24 lines
579 B
Nix
24 lines
579 B
Nix
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "go-toml";
|
|
version = "1.8.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pelletier";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1pi1r9ds0vxjza4qrbk52y98wxrzh1ghwzc9c2v1w6i02pdwdcz9";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|