nixos/pkgs/storj.nix
Jake Hillion 241b8794e4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
storj: update to 1.84.2
2023-08-23 11:09:22 +01:00

34 lines
898 B
Nix

{ stdenv, lib, fetchFromGitea, buildGoModule, ... }:
let
version = "1.84.2";
src = fetchFromGitea {
domain = "gitea.hillion.co.uk";
owner = "JakeHillion";
repo = "storj";
rev = "977a27dde2affe6801840b827dde387551b15126";
hash = "sha256-DHDVrYGWGK91uMMa9rF3RVpFA9IVhtvqHJtLUXyuL5E=";
};
meta = with lib; {
description = "Storj is building a distributed cloud storage network.";
homepage = "https://github.com/storj/storj";
license = licenses.agpl3Only;
maintainers = [{
email = "jake@hillion.co.uk";
matrix = "@jake:hillion.co.uk";
name = "Jake Hillion";
github = "JakeHillion";
githubId = 5712856;
}];
};
in
buildGoModule rec {
pname = "storagenode";
inherit version src meta;
vendorHash = "sha256-iZEEADI1JxdsL1j4kJpkV3owfO8DnUcCNSKJMyPgYhE=";
subPackages = [
"cmd/storagenode"
"cmd/identity"
];
}