mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
31 lines
637 B
Nix
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 ];
|
|
};
|
|
}
|