Last active
May 1, 2022 11:05
-
-
Save TheSirC/dc92541579fb9c5f9a9cedcb3a558bc9 to your computer and use it in GitHub Desktop.
Packaging attempt for sftpgo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build with `nix-build -E "with import <nixpkgs> {}; callPackage ./sftpgo.nix {}"` | |
{ buildGoModule, fetchFromGitHub }: | |
buildGoModule rec { | |
pname = "sftpgo"; | |
version = "2.2.2"; | |
src = fetchFromGitHub { | |
owner = "drakkan"; | |
repo = "sftpgo"; | |
rev = "v${version}"; | |
sha256 = "sha256-bRkXoWGQKU9nBEHP+8826Butdw5O6nbEBQ8pZBE+0yk="; | |
}; | |
vendorSha256 = "sha256-0r+nIf/89cPEIlV+9dZ+H/AzPQgO7WGcTfkN1FNL/iA="; | |
proxyVendor = true; | |
subPackages = [ "sftpd" ]; | |
tags = [ | |
"nogcs" | |
"nos3" | |
"nosqlite" | |
"noazblob" | |
"nobolt" | |
"nomysql" | |
"nopgsql" | |
"nometrics" | |
]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this derivation will be built: | |
/nix/store/rs8qzzabjvry9wchbfq5k0w51c2gsb00-sftpgo-2.2.2.drv | |
building '/nix/store/rs8qzzabjvry9wchbfq5k0w51c2gsb00-sftpgo-2.2.2.drv'... | |
unpacking sources | |
unpacking source archive /nix/store/mxbgr9q02rxf5hin821l99z9ccv9mxq6-source | |
source root is source | |
patching sources | |
configuring | |
building | |
Building subPackage ./sftpd | |
go: downloading github.com/drakkan/pipeat v0.0.0-20210805162858-70e57fa8a639 | |
go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 | |
go: downloading github.com/pkg/sftp v1.13.5-0.20211217081921-1849af66afae | |
go: downloading github.com/otiai10/copy v1.7.0 | |
go: downloading github.com/sftpgo/sdk v0.0.0-20220110174344-ecf586dd8941 | |
go: downloading github.com/drakkan/crypto v0.0.0-20220203171754-7c88c47fe4cc | |
go: downloading github.com/fclairamb/go-log v0.2.0 | |
go: downloading github.com/go-chi/chi/v5 v5.0.8-0.20220103230436-7dbe9a0bd10f | |
go: downloading github.com/hashicorp/go-hclog v1.1.0 | |
go: downloading github.com/rs/zerolog v1.26.2-0.20220203140311-fc26014bd4e1 | |
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0 | |
go: downloading github.com/GehirnInc/crypt v0.0.0-20200316065508-bb7000b8a962 | |
go: downloading github.com/drakkan/ftpserverlib v0.0.0-20220113173527-7442aa777ac0 | |
go: downloading github.com/pires/go-proxyproto v0.6.1 | |
go: downloading github.com/yl2chen/cidranger v1.0.3-0.20210928021809-d1cb2c52f37a | |
go: downloading golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 | |
go: downloading github.com/alexedwards/argon2id v0.0.0-20211130144151-3585854a6387 | |
go: downloading github.com/cockroachdb/cockroach-go/v2 v2.2.6 | |
go: downloading github.com/go-chi/render v1.0.1 | |
go: downloading github.com/rs/xid v1.3.0 | |
go: downloading github.com/wagslane/go-password-validator v0.3.0 | |
go: downloading github.com/drakkan/net v0.0.0-20220203171957-88bffbb14d53 | |
go: downloading github.com/google/uuid v1.3.0 | |
go: downloading github.com/lithammer/shortuuid/v3 v3.0.7 | |
go: downloading github.com/minio/sio v0.3.0 | |
go: downloading golang.org/x/sys v0.0.0-20220204135822-1c1b9b1eba6a | |
go: downloading github.com/hashicorp/go-retryablehttp v0.7.0 | |
go: downloading github.com/xhit/go-simple-mail/v2 v2.10.0 | |
go: downloading github.com/hashicorp/go-plugin v1.4.3 | |
go: downloading github.com/shirou/gopsutil/v3 v3.22.1 | |
go: downloading gocloud.dev v0.24.0 | |
go: downloading github.com/pquerna/otp v1.3.0 | |
dataprovider/dataprovider.go:36:2: github.com/GehirnInc/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/%21gehirn%21inc/crypt/@v/v0.0.0-20200316065508-bb7000b8a962.zip: open /nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/!gehirn!inc/crypt/@v/v0.0.0-20200316065508-bb7000b8a962.zip: no such file or directory | |
common/httpauth.go:9:2: github.com/GehirnInc/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/%21gehirn%21inc/crypt/@v/v0.0.0-20200316065508-bb7000b8a962.zip: open /nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/!gehirn!inc/crypt/@v/v0.0.0-20200316065508-bb7000b8a962.zip: no such file or directory | |
common/httpauth.go:10:2: github.com/GehirnInc/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/%21gehirn%21inc/crypt/@v/v0.0.0-20200316065508-bb7000b8a962.zip: open /nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/!gehirn!inc/crypt/@v/v0.0.0-20200316065508-bb7000b8a962.zip: no such file or directory | |
dataprovider/dataprovider.go:39:2: github.com/GehirnInc/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/%21gehirn%21inc/crypt/@v/v0.0.0-20200316065508-bb7000b8a962.zip: open /nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/!gehirn!inc/crypt/@v/v0.0.0-20200316065508-bb7000b8a962.zip: no such file or directory | |
dataprovider/admin.go:14:2: github.com/alexedwards/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/alexedwards/argon2id/@v/v0.0.0-20211130144151-3585854a6387.zip: no such file or directory | |
dataprovider/sqlcommon.go:13:2: github.com/cockroachdb/cockroach-go/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/cockroachdb/cockroach-go/v2/@v/v2.2.6.zip: no such file or directory | |
vfs/cryptfs.go:12:2: github.com/drakkan/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/drakkan/pipeat/@v/v0.0.0-20210805162858-70e57fa8a639.zip: no such file or directory | |
common/connection.go:13:2: github.com/drakkan/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/drakkan/ftpserverlib/@v/v0.0.0-20220113173527-7442aa777ac0.zip: no such file or directory | |
logger/logger.go:18:2: github.com/fclairamb/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/fclairamb/go-log/@v/v0.2.0.zip: no such file or directory | |
metric/metric_disabled.go:7:2: github.com/go-chi/chi/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/go-chi/chi/v5/@v/v5.0.8-0.20220103230436-7dbe9a0bd10f.zip: no such file or directory | |
logger/request_logger.go:9:2: github.com/go-chi/chi/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/go-chi/chi/v5/@v/v5.0.8-0.20220103230436-7dbe9a0bd10f.zip: no such file or directory | |
dataprovider/dataprovider.go:41:2: github.com/go-chi/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/go-chi/render/@v/v1.0.1.zip: no such file or directory | |
sftpd/ssh_cmd.go:19:2: github.com/google/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/google/shlex/@v/v0.0.0-20191202100458-e7afc7fbc510.zip: no such file or directory | |
util/util.go:28:2: github.com/google/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/google/uuid/@v/v1.3.0.zip: no such file or directory | |
logger/hclog_adapter.go:7:2: github.com/hashicorp/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/hashicorp/go-hclog/@v/v1.1.0.zip: no such file or directory | |
plugin/auth.go:10:2: github.com/hashicorp/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/hashicorp/go-plugin/@v/v1.4.3.zip: no such file or directory | |
httpclient/httpclient.go:14:2: github.com/hashicorp/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/hashicorp/go-retryablehttp/@v/v0.7.0.zip: no such file or directory | |
util/util.go:29:2: github.com/lithammer/shortuuid/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/lithammer/shortuuid/v3/@v/v3.0.7.zip: no such file or directory | |
vfs/cryptfs.go:13:2: github.com/minio/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/minio/sio/@v/v0.3.0.zip: no such file or directory | |
vfs/osfs.go:14:2: github.com/otiai10/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/otiai10/copy/@v/v1.7.0.zip: no such file or directory | |
common/common.go:20:2: github.com/pires/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/pires/go-proxyproto/@v/v0.6.1.zip: no such file or directory | |
vfs/osfs.go:15:2: github.com/pkg/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/pkg/sftp/@v/v1.13.5-0.20211217081921-1849af66afae.zip: no such file or directory | |
mfa/totp.go:11:2: github.com/pquerna/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/pquerna/otp/@v/v1.3.0.zip: no such file or directory | |
mfa/totp.go:12:2: github.com/pquerna/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/pquerna/otp/@v/v1.3.0.zip: no such file or directory | |
util/util.go:30:2: github.com/rs/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/rs/xid/@v/v1.3.0.zip: no such file or directory | |
logger/hclog_adapter.go:8:2: github.com/rs/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/rs/zerolog/@v/v1.26.2-0.20220203140311-fc26014bd4e1.zip: no such file or directory | |
logger/journald.go:8:2: github.com/rs/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/rs/zerolog/@v/v1.26.2-0.20220203140311-fc26014bd4e1.zip: no such file or directory | |
vfs/filesystem.go:6:2: github.com/sftpgo/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/sftpgo/sdk/@v/v0.0.0-20220110174344-ecf586dd8941.zip: no such file or directory | |
kms/basesecret.go:4:2: github.com/sftpgo/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/sftpgo/sdk/@v/v0.0.0-20220110174344-ecf586dd8941.zip: no such file or directory | |
plugin/auth.go:11:2: github.com/sftpgo/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/sftpgo/sdk/@v/v0.0.0-20220110174344-ecf586dd8941.zip: no such file or directory | |
plugin/plugin.go:14:2: github.com/sftpgo/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/sftpgo/sdk/@v/v0.0.0-20220110174344-ecf586dd8941.zip: no such file or directory | |
plugin/kms.go:12:2: github.com/sftpgo/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/sftpgo/sdk/@v/v0.0.0-20220110174344-ecf586dd8941.zip: no such file or directory | |
plugin/metadata.go:10:2: github.com/sftpgo/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/sftpgo/sdk/@v/v0.0.0-20220110174344-ecf586dd8941.zip: no such file or directory | |
plugin/notifier.go:12:2: github.com/sftpgo/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/sftpgo/sdk/@v/v0.0.0-20220110174344-ecf586dd8941.zip: no such file or directory | |
plugin/util.go:4:2: github.com/shirou/gopsutil/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/shirou/gopsutil/v3/@v/v3.22.1.zip: no such file or directory | |
dataprovider/admin.go:15:2: github.com/wagslane/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/wagslane/go-password-validator/@v/v0.3.0.zip: no such file or directory | |
smtp/smtp.go:12:2: github.com/xhit/go-simple-mail/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/xhit/go-simple-mail/v2/@v/v2.10.0.zip: no such file or directory | |
common/defender.go:11:2: github.com/yl2chen/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/yl2chen/cidranger/@v/v1.0.3-0.20210928021809-d1cb2c52f37a.zip: no such file or directory | |
kms/local.go:11:2: [email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/gocloud.dev/@v/v0.24.0.zip: no such file or directory | |
dataprovider/admin.go:16:2: github.com/drakkan/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/drakkan/crypto/@v/v0.0.0-20220203171754-7c88c47fe4cc.zip: no such file or directory | |
kms/local.go:12:2: github.com/drakkan/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/drakkan/crypto/@v/v0.0.0-20220203171754-7c88c47fe4cc.zip: no such file or directory | |
dataprovider/dataprovider.go:46:2: github.com/drakkan/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/drakkan/crypto/@v/v0.0.0-20220203171754-7c88c47fe4cc.zip: no such file or directory | |
util/util.go:31:2: github.com/drakkan/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/drakkan/crypto/@v/v0.0.0-20220203171754-7c88c47fe4cc.zip: no such file or directory | |
dataprovider/cacheduser.go:7:2: github.com/drakkan/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/drakkan/net/@v/v0.0.0-20220203171957-88bffbb14d53.zip: no such file or directory | |
vfs/statvfs_linux.go:8:2: golang.org/x/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/golang.org/x/sys/@v/v0.0.0-20220204135822-1c1b9b1eba6a.zip: no such file or directory | |
common/ratelimiter.go:12:2: golang.org/x/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/golang.org/x/time/@v/v0.0.0-20211116232009-f0f3c7e86c11.zip: no such file or directory | |
logger/logger.go:20:2: gopkg.in/natefinch/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/gopkg.in/natefinch/lumberjack.v2/@v/v2.0.0.zip: no such file or directory | |
error: builder for '/nix/store/rs8qzzabjvry9wchbfq5k0w51c2gsb00-sftpgo-2.2.2.drv' failed with exit code 1; | |
last 10 log lines: | |
> common/defender.go:11:2: github.com/yl2chen/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/yl2chen/cidranger/@v/v1.0.3-0.20210928021809-d1cb2c52f37a.zip: no such file or directory | |
> kms/local.go:11:2: [email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/gocloud.dev/@v/v0.24.0.zip: no such file or directory | |
> dataprovider/admin.go:16:2: github.com/drakkan/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/drakkan/crypto/@v/v0.0.0-20220203171754-7c88c47fe4cc.zip: no such file or directory | |
> kms/local.go:12:2: github.com/drakkan/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/drakkan/crypto/@v/v0.0.0-20220203171754-7c88c47fe4cc.zip: no such file or directory | |
> dataprovider/dataprovider.go:46:2: github.com/drakkan/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/drakkan/crypto/@v/v0.0.0-20220203171754-7c88c47fe4cc.zip: no such file or directory | |
> util/util.go:31:2: github.com/drakkan/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/drakkan/crypto/@v/v0.0.0-20220203171754-7c88c47fe4cc.zip: no such file or directory | |
> dataprovider/cacheduser.go:7:2: github.com/drakkan/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/github.com/drakkan/net/@v/v0.0.0-20220203171957-88bffbb14d53.zip: no such file or directory | |
> vfs/statvfs_linux.go:8:2: golang.org/x/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/golang.org/x/sys/@v/v0.0.0-20220204135822-1c1b9b1eba6a.zip: no such file or directory | |
> common/ratelimiter.go:12:2: golang.org/x/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/golang.org/x/time/@v/v0.0.0-20211116232009-f0f3c7e86c11.zip: no such file or directory | |
> logger/logger.go:20:2: gopkg.in/natefinch/[email protected]: reading file:///nix/store/w2hwji4bhmr5nx4gzbgryp66s3abmdp1-sftpgo-2.2.2-go-modules/gopkg.in/natefinch/lumberjack.v2/@v/v2.0.0.zip: no such file or directory | |
For full logs, run 'nix log /nix/store/rs8qzzabjvry9wchbfq5k0w51c2gsb00-sftpgo-2.2.2.drv'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment