blob: 8cfa4c802992616ad82d965217e1cb2a37341a7f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "go-toml";
version = "2.0.5";
src = fetchFromGitHub {
owner = "pelletier";
repo = pname;
rev = "v${version}";
sha256 = "sha256-9m0g8hfJ+gazYHq2TzSN/0d2o789QBhbIpGxdXhNBGk=";
};
vendorSha256 = "sha256-yDPCfJtYty4aaoDrn3UWFcs1jHJHMJqzc5f06AWQmRc=";
excludedPackages = [ "cmd/gotoml-test-decoder" "cmd/tomltestgen" ];
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Go library for the TOML language";
homepage = "https://github.com/pelletier/go-toml";
maintainers = [ maintainers.marsam ];
license = licenses.mit;
};
}
|