Skip to content

Commit e6dbba1

Browse files
committed
storj-uplink: renew
Signed-off-by: Paul Meyer <katexochen0@gmail.com>
1 parent 3ee0631 commit e6dbba1

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

pkgs/by-name/st/storj-uplink/package.nix

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,31 @@
44
fetchFromGitHub,
55
}:
66

7-
buildGoModule rec {
7+
buildGoModule (finalAttrs: {
88
pname = "storj-uplink";
99
version = "1.133.5";
1010

1111
src = fetchFromGitHub {
1212
owner = "storj";
1313
repo = "storj";
14-
rev = "v${version}";
14+
tag = "v${finalAttrs.version}";
1515
hash = "sha256-MvaA8AkoP4FszEEM33QKDt5zeXMZ3XDt5uU1t6C6Q1I=";
1616
};
1717

1818
subPackages = [ "cmd/uplink" ];
1919

2020
vendorHash = "sha256-N1rEEM+oH2VVOvg9c8gICQ1aDO9FS/faVbQl0kj1jYM=";
2121

22-
ldflags = [
23-
"-s"
24-
"-w"
25-
];
22+
ldflags = [ "-s" ];
2623

2724
# Tests fail with 'listen tcp 127.0.0.1:0: bind: operation not permitted'.
2825
__darwinAllowLocalNetworking = true;
2926

30-
meta = with lib; {
27+
meta = {
3128
description = "Command-line tool for Storj";
3229
homepage = "https://storj.io";
33-
license = licenses.agpl3Only;
30+
license = lib.licenses.agpl3Only;
3431
mainProgram = "uplink";
35-
maintainers = with maintainers; [ felipeqq2 ];
32+
maintainers = with lib.maintainers; [ felipeqq2 ];
3633
};
37-
}
34+
})

0 commit comments

Comments
 (0)