nixos/pkgs/storj.nix

34 lines
898 B
Nix
Raw Normal View History

2023-07-30 22:56:42 +01:00
{ stdenv, lib, fetchFromGitea, buildGoModule, ... }:
2023-06-11 15:15:49 +01:00
let
2023-08-23 10:58:42 +01:00
version = "1.84.2";
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-12-08 17:20:48 +00:00
rev = "5546e07191f01be3269d5ea2dbf5ebb908852288";
hash = "sha256-OpLxi84oS2sCUaZEuKTvbaygkxkRiXlAlRVQDV8VWHg=";
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-12-08 17:20:48 +00:00
vendorHash = "sha256-eSm1Bp+nycd1W9Tx5hvh/Ta3w9u1zsXZ4D77zAnViOA=";
2023-06-11 15:15:49 +01:00
subPackages = [
"cmd/storagenode"
"cmd/identity"
];
}