Files
nixpkgs/pkgs/by-name/st/storj-uplink/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

35 lines
773 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "storj-uplink";
version = "1.137.5";
src = fetchFromGitHub {
owner = "storj";
repo = "storj";
tag = "v${finalAttrs.version}";
hash = "sha256-QvmCtW8szGoo7sNHbChvtkTOUOxf1TQHQCoYeV1pN9o=";
};
subPackages = [ "cmd/uplink" ];
vendorHash = "sha256-YWqrdjB6lOOdt99XOrh27O1gza6qZ2Xn+9XfTnwOJsw=";
ldflags = [ "-s" ];
# Tests fail with 'listen tcp 127.0.0.1:0: bind: operation not permitted'.
__darwinAllowLocalNetworking = true;
meta = {
description = "Command-line tool for Storj";
homepage = "https://storj.io";
license = lib.licenses.agpl3Only;
mainProgram = "uplink";
maintainers = with lib.maintainers; [ felipeqq2 ];
};
})