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

25 lines
578 B
Nix
Raw Normal View History

2020-06-06 11:20:00 +02:00
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "go-toml";
2021-06-06 01:40:19 +02:00
version = "1.9.2";
2020-06-06 11:20:00 +02:00
src = fetchFromGitHub {
owner = "pelletier";
repo = pname;
rev = "v${version}";
2021-06-06 01:40:19 +02:00
sha256 = "sha256-x740f6I+szhq4mEsed4bsXcC8PvzF6PKFJNJ9SKMGIE=";
2020-06-06 11:20:00 +02: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;
};
}