biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / go-toml / default.nix
blob22e6f3a015dfc19b3094b8a664b94e6c23970f05
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "go-toml";
5   version = "2.2.1";
7   src = fetchFromGitHub {
8     owner = "pelletier";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "sha256-DAtp9ovl6cny0rom80aK+bGe9U/p6zmTQo1Z3MscCjg=";
12   };
14   vendorHash = "sha256-4t/ft3XTfc7yrsFVMSfjdCur8QULho3NI2ym6gqjexI=";
16   excludedPackages = [
17     "cmd/gotoml-test-decoder"
18     "cmd/gotoml-test-encoder"
19     "cmd/tomltestgen"
20   ];
22   ldflags = [ "-s" "-w" ];
24   meta = with lib; {
25     description = "Go library for the TOML language";
26     homepage = "https://github.com/pelletier/go-toml";
27     changelog = "https://github.com/pelletier/go-toml/releases/tag/v${version}";
28     maintainers = [ maintainers.marsam ];
29     license = licenses.mit;
30   };