2023-07-30 22:56:42 +01:00
|
|
|
{ stdenv, lib, fetchFromGitea, buildGoModule, ... }:
|
2023-06-11 15:15:49 +01:00
|
|
|
|
|
|
|
let
|
2023-07-25 20:16:03 +01:00
|
|
|
version = "1.82.1";
|
2023-07-30 22:56:42 +01:00
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "gitea.hillion.co.uk";
|
|
|
|
owner = "JakeHillion";
|
2023-06-11 15:15:49 +01:00
|
|
|
repo = "storj";
|
2023-07-30 22:56:42 +01:00
|
|
|
rev = "f75ec5ba34b2ccce005ebdb6fae697e0224998d9";
|
2023-07-30 21:46:41 +01:00
|
|
|
hash = "sha256-zUpzkdiAbE10fq1KDXEarPURqByD8JV0NkQ9iNxPlWI=";
|
2023-06-11 15:15:49 +01:00
|
|
|
};
|
|
|
|
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;
|
2023-07-25 20:16:03 +01:00
|
|
|
vendorHash = "sha256-Q9+uwFmPrffvQGT9dHxf0ilCcDeVhUxrJETsngwZUXA=";
|
2023-06-11 15:15:49 +01:00
|
|
|
subPackages = [
|
|
|
|
"cmd/storagenode"
|
|
|
|
"cmd/identity"
|
|
|
|
];
|
|
|
|
}
|