depot/third_party/nixpkgs/pkgs/development/tools/go-toml/default.nix
Default email 3e2acf8aff Project import generated by Copybara.
GitOrigin-RevId: d42cd445dde587e9a993cd9434cb43da07c4c5de
2021-05-20 18:08:51 -05:00

24 lines
578 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "go-toml";
version = "1.9.1";
src = fetchFromGitHub {
owner = "pelletier";
repo = pname;
rev = "v${version}";
sha256 = "sha256-O3gfQon8ktObLVED4A5sCSOw8K1NIXP3a5AsLq3Svb4=";
};
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;
};
}