diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2022-05-22 17:05:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-22 17:05:18 +0100 |
commit | 3f39d66c9e8b5bd47d65499b1254cb62e02b7df2 (patch) | |
tree | afe08598ea9692d69646fc198ad690536ae85a01 /pkgs/tools | |
parent | 3e7f627268fe561b8383a57d09deec1219c3db89 (diff) | |
parent | 3217850d04784719fc51e2379bf0ab70251f38e3 (diff) |
Merge pull request #168480 from NixOS/drop/go116
go1.16: remove
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/filesystems/goofys/default.nix | 3 | ||||
-rw-r--r-- | pkgs/tools/misc/yajsv/default.nix | 6 | ||||
-rw-r--r-- | pkgs/tools/misc/yajsv/go.mod.patch | 30 | ||||
-rw-r--r-- | pkgs/tools/networking/obfs4/default.nix | 8 |
4 files changed, 41 insertions, 6 deletions
diff --git a/pkgs/tools/filesystems/goofys/default.nix b/pkgs/tools/filesystems/goofys/default.nix index 16c555473f3c7..10ea061f8608e 100644 --- a/pkgs/tools/filesystems/goofys/default.nix +++ b/pkgs/tools/filesystems/goofys/default.nix @@ -30,7 +30,8 @@ buildGoModule { description = "A high-performance, POSIX-ish Amazon S3 file system written in Go."; license = [ lib.licenses.mit ]; maintainers = [ lib.maintainers.adisbladis ]; - broken = stdenv.isDarwin; # needs to update gopsutil to at least v3.21.3 to include https://github.com/shirou/gopsutil/pull/1042 + # does not build with go 1.17 + broken = true; }; } diff --git a/pkgs/tools/misc/yajsv/default.nix b/pkgs/tools/misc/yajsv/default.nix index 6e5f20bfbd2b3..cae0b9042c841 100644 --- a/pkgs/tools/misc/yajsv/default.nix +++ b/pkgs/tools/misc/yajsv/default.nix @@ -12,7 +12,11 @@ in buildGoModule { sha256 = "0smaij3905fqgcjmnfs58r6silhp3hyv7ccshk7n13fmllmsm7v7"; }; - vendorSha256 = "0rmc31i5jra2qcqhw1azflmhawxasrq0d6qwd6qp250sj1jr6ahq"; + patches = [ + ./go.mod.patch + ]; + + vendorSha256 = "0jcm789las02prgl89va8xvvz98sjcyvzd9zqk3mwal656b5r3kz"; doInstallCheck = true; installCheckPhase = '' diff --git a/pkgs/tools/misc/yajsv/go.mod.patch b/pkgs/tools/misc/yajsv/go.mod.patch new file mode 100644 index 0000000000000..3b1c09f818836 --- /dev/null +++ b/pkgs/tools/misc/yajsv/go.mod.patch @@ -0,0 +1,30 @@ +diff --git a/go.mod b/go.mod +index 9f96eaf..360ab47 100644 +--- a/go.mod ++++ b/go.mod +@@ -7,5 +7,6 @@ require ( + github.com/ghodss/yaml v1.0.0 + github.com/mitchellh/go-homedir v1.1.0 + github.com/xeipuuv/gojsonschema v1.2.0 ++ golang.org/x/text v0.3.7 + gopkg.in/yaml.v2 v2.2.8 // indirect + ) +diff --git a/go.sum b/go.sum +index 5b7e5c4..4b002ef 100644 +--- a/go.sum ++++ b/go.sum +@@ -1,4 +1,3 @@ +-github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= + github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= + github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= + github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +@@ -17,6 +16,9 @@ github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHo + github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= + github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74= + github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= ++golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= ++golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= ++golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= + gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= + gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= + gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= diff --git a/pkgs/tools/networking/obfs4/default.nix b/pkgs/tools/networking/obfs4/default.nix index d279f06173753..03e1d0ad5af22 100644 --- a/pkgs/tools/networking/obfs4/default.nix +++ b/pkgs/tools/networking/obfs4/default.nix @@ -2,15 +2,15 @@ buildGoModule rec { pname = "obfs4"; - version = "0.0.11"; + version = "0.0.12"; src = fetchgit { url = "https://git.torproject.org/pluggable-transports/obfs4.git"; - rev = "refs/tags/${pname}proxy-${version}"; - sha256 = "sha256-VjJ/Pc1YjNB2iLnN/5CxuaxolcaR1IMWgoESMzOXU/g="; + rev = "a564bc3840bc788605e1a8155f4b95ce0d70c6db"; # not tagged + sha256 = "0hqk540q94sh4wvm31jjcvpdklhf8r35in4yii7xnfn58a7amfkc"; }; - vendorSha256 = "sha256-xGCK8biTYcrmKbsl6ZyCjpRrVP9x5xGrC3VcMsR7ETo="; + vendorSha256 = "0yjanv5piygffpdfysviijl7cql2k0r05bsxnlj4hbamsriz9xqy"; meta = with lib; { description = "A pluggable transport proxy"; |