nixpkgs/pkgs/applications/networking/sync/storj-uplink/default.nix
2024-03-29 07:20:44 +00:00

31 lines
637 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "storj-uplink";
version = "1.100.4";
src = fetchFromGitHub {
owner = "storj";
repo = "storj";
rev = "v${version}";
hash = "sha256-LPckEiuw+3WlEnW07jql+TFggB6mEzrvC7NI+pVBCLY=";
};
subPackages = [ "cmd/uplink" ];
vendorHash = "sha256-84PI1tZFiodnGvMwObELVxXMCgIWINOrO0ISAWRnxRM=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Command-line tool for Storj";
homepage = "https://storj.io";
license = licenses.agpl3Only;
mainProgram = "uplink";
maintainers = with maintainers; [ felipeqq2 ];
};
}