Commit e6dbba13 authored by Paul Meyer's avatar Paul Meyer
Browse files

storj-uplink: renew

parent 3ee06315
Loading
Loading
Loading
Loading
+7 −10
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})