nixpkgs/pkgs/development/tools/go-toml/default.nix

25 lines
579 B
Nix
Raw Normal View History

2020-06-06 10:20:00 +01:00
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "go-toml";
2020-09-25 09:09:31 +01:00
version = "1.8.1";
2020-06-06 10:20:00 +01:00
src = fetchFromGitHub {
owner = "pelletier";
repo = pname;
rev = "v${version}";
2020-09-25 09:09:31 +01:00
sha256 = "1pi1r9ds0vxjza4qrbk52y98wxrzh1ghwzc9c2v1w6i02pdwdcz9";
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;
};
}