Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

storj-uplink: renew

Signed-off-by: Paul Meyer <katexochen0@gmail.com>

+7 -10
+7 -10
pkgs/by-name/st/storj-uplink/package.nix
··· 4 4 fetchFromGitHub, 5 5 }: 6 6 7 - buildGoModule rec { 7 + buildGoModule (finalAttrs: { 8 8 pname = "storj-uplink"; 9 9 version = "1.133.5"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "storj"; 13 13 repo = "storj"; 14 - rev = "v${version}"; 14 + tag = "v${finalAttrs.version}"; 15 15 hash = "sha256-MvaA8AkoP4FszEEM33QKDt5zeXMZ3XDt5uU1t6C6Q1I="; 16 16 }; 17 17 ··· 19 19 20 20 vendorHash = "sha256-N1rEEM+oH2VVOvg9c8gICQ1aDO9FS/faVbQl0kj1jYM="; 21 21 22 - ldflags = [ 23 - "-s" 24 - "-w" 25 - ]; 22 + ldflags = [ "-s" ]; 26 23 27 24 # Tests fail with 'listen tcp 127.0.0.1:0: bind: operation not permitted'. 28 25 __darwinAllowLocalNetworking = true; 29 26 30 - meta = with lib; { 27 + meta = { 31 28 description = "Command-line tool for Storj"; 32 29 homepage = "https://storj.io"; 33 - license = licenses.agpl3Only; 30 + license = lib.licenses.agpl3Only; 34 31 mainProgram = "uplink"; 35 - maintainers = with maintainers; [ felipeqq2 ]; 32 + maintainers = with lib.maintainers; [ felipeqq2 ]; 36 33 }; 37 - } 34 + })