nixpkgs/pkgs/applications/networking/sync/storj-uplink/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
637 B
Nix
Raw Normal View History

2023-01-07 19:39:05 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "storj-uplink";
2024-04-16 14:52:57 +00:00
version = "1.102.2";
2023-01-07 19:39:05 +00:00
src = fetchFromGitHub {
owner = "storj";
repo = "storj";
rev = "v${version}";
2024-04-16 14:52:57 +00:00
hash = "sha256-GpHX34iHKeoT7AuEf76QTpTIrATLZyAoUxMoIouhvyA=";
2023-01-07 19:39:05 +00:00
};
subPackages = [ "cmd/uplink" ];
2024-04-16 14:52:57 +00:00
vendorHash = "sha256-atIb/SmOShLIhvEsTcegX7+xoDXN+SI5a7TQrXpqdUg=";
2023-01-07 19:39:05 +00:00
2023-09-09 23:00:30 +00:00
ldflags = [ "-s" "-w" ];
2023-01-07 19:39:05 +00:00
meta = with lib; {
description = "Command-line tool for Storj";
homepage = "https://storj.io";
license = licenses.agpl3Only;
mainProgram = "uplink";
maintainers = with maintainers; [ felipeqq2 ];
};
}