ncdns: 2022-10-07 -> 2024-05-18

This commit is contained in:
rnhmjoj 2024-08-01 16:47:30 +02:00
parent 407f9a4130
commit 632d9a851e
No known key found for this signature in database
GPG Key ID: BFBAF4C975F76450
3 changed files with 19 additions and 5 deletions

View File

@ -55,23 +55,31 @@ let
in
buildGoModule rec {
buildGoModule {
pname = "ncdns";
version = "unstable-2022-10-07";
version = "unstable-2024-05-18";
src = fetchFromGitHub {
owner = "namecoin";
repo = "ncdns";
rev = "5adda8d4726d389597df432eb2e17eac1677cea2";
hash = "sha256-Q/RrUTY4WfrByvQv1eCX29DQNf2vSIR29msmhgS73xk=";
rev = "8a9f7c3037384f12fae400268d0a7f79d26b5532";
hash = "sha256-lFpjfpOAgvYoV3ci2oSdy8ZOlQ2rWlApiFWcvOMdkyk=";
};
# Note: to update ncdns add the following lines
#
# chmod -R +w .
# go mod tidy
# cat go.mod go.sum
# exit 1
#
# to the `preBuild` here and update the lock files
preBuild = ''
# Sideload the generated x509 module
ln -s '${x509}' x509
'';
vendorHash = "sha256-qzUabzHUjnTtRlLx/SQ2s85am2PfK9zAblcbEjFE4tQ=";
vendorHash = "sha256-FoCK2qkhbc+6D4V77pNLiC9d68nkeYJxb7uiNYEP2Xw=";
buildInputs = [ libcap ];

View File

@ -7,6 +7,7 @@ replace gopkg.in/alecthomas/kingpin.v2 => github.com/alecthomas/kingpin/v2 v2.3.
require (
github.com/btcsuite/btcd v0.24.2
github.com/fxamacker/cbor v1.5.1
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
github.com/hlandau/buildinfo v0.0.0-20161112115716-337a29b54997
github.com/hlandau/degoutils v0.0.0-20161011040956-8fa2440b6344
@ -44,6 +45,7 @@ require (
github.com/ogier/pflag v0.0.1 // indirect
github.com/rogpeppe/go-internal v1.9.0 // indirect
github.com/shiena/ansicolor v0.0.0-20230509054315-a9deabde6e02 // indirect
github.com/x448/float16 v0.8.4 // indirect
github.com/xhit/go-str2duration/v2 v2.1.0 // indirect
golang.org/x/crypto v0.25.0 // indirect
golang.org/x/mod v0.18.0 // indirect

View File

@ -49,6 +49,8 @@ github.com/erikdubbelboer/gspt v0.0.0-20210805194459-ce36a5128377 h1:gT+RM6gdTIA
github.com/erikdubbelboer/gspt v0.0.0-20210805194459-ce36a5128377/go.mod h1:v6o7m/E9bfvm79dE1iFiF+3T7zLBnrjYjkWMa1J+Hv0=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/fxamacker/cbor v1.5.1 h1:XjQWBgdmQyqimslUh5r4tUGmoqzHmBFQOImkWGi2awg=
github.com/fxamacker/cbor v1.5.1/go.mod h1:3aPGItF174ni7dDzd6JZ206H8cmr4GDNBGpPa971zsU=
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
@ -123,6 +125,8 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc=
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc=
github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU=
golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=