storj-uplink: renew

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
Paul Meyer 2025-07-28 08:44:01 +02:00
parent 3ee063159e
commit e6dbba13d7

View File

@ -4,14 +4,14 @@
fetchFromGitHub,
}:
buildGoModule rec {
buildGoModule (finalAttrs: {
pname = "storj-uplink";
version = "1.133.5";
src = fetchFromGitHub {
owner = "storj";
repo = "storj";
rev = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-MvaA8AkoP4FszEEM33QKDt5zeXMZ3XDt5uU1t6C6Q1I=";
};
@ -19,19 +19,16 @@ buildGoModule rec {
vendorHash = "sha256-N1rEEM+oH2VVOvg9c8gICQ1aDO9FS/faVbQl0kj1jYM=";
ldflags = [
"-s"
"-w"
];
ldflags = [ "-s" ];
# Tests fail with 'listen tcp 127.0.0.1:0: bind: operation not permitted'.
__darwinAllowLocalNetworking = true;
meta = with lib; {
meta = {
description = "Command-line tool for Storj";
homepage = "https://storj.io";
license = licenses.agpl3Only;
license = lib.licenses.agpl3Only;
mainProgram = "uplink";
maintainers = with maintainers; [ felipeqq2 ];
maintainers = with lib.maintainers; [ felipeqq2 ];
};
}
})