2021-04-20 21:31:37 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
fetchgit,
|
|
|
|
buildEnv,
|
|
|
|
minio-client,
|
|
|
|
|
|
|
|
}: let
|
|
|
|
|
2022-11-22 11:51:21 +00:00
|
|
|
version = "0.8.0-unstable";
|
2022-10-07 19:05:51 +00:00
|
|
|
|
2021-04-20 21:31:37 +00:00
|
|
|
src = fetchgit {
|
2022-10-07 19:05:51 +00:00
|
|
|
name = "garage-v${version}";
|
2021-04-20 21:31:37 +00:00
|
|
|
url = "https://git.deuxfleurs.fr/Deuxfleurs/garage.git";
|
2022-11-22 11:51:21 +00:00
|
|
|
rev = "293139a94a8911aaac1b650e4707379a972196aa";
|
|
|
|
sha256 = "sha256-b6HHLnxMdmpngiywll6Egr8O9/4cqBN01Mj3OwVMeBc=";
|
2021-04-20 21:31:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
in rec {
|
|
|
|
|
2022-10-07 19:05:51 +00:00
|
|
|
garage = (import "${src}/default.nix") { git_version = version; };
|
2021-04-20 21:31:37 +00:00
|
|
|
|
|
|
|
minioClient = minio-client;
|
|
|
|
|
|
|
|
env = buildEnv {
|
|
|
|
name = "cryptic-net-garage";
|
|
|
|
paths = [
|
2022-10-25 19:15:09 +00:00
|
|
|
garage.pkgs.amd64.release
|
2021-04-20 21:31:37 +00:00
|
|
|
minioClient
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|