33 lines
526 B
Nix
33 lines
526 B
Nix
|
{
|
||
|
|
||
|
fetchgit,
|
||
|
buildEnv,
|
||
|
minio-client,
|
||
|
|
||
|
}: let
|
||
|
|
||
|
src = fetchgit {
|
||
|
name = "garage-v0.6.0-unstable";
|
||
|
url = "https://git.deuxfleurs.fr/Deuxfleurs/garage.git";
|
||
|
rev = "84613e66a286536dff9828d8aca2625d2c6c6bf2";
|
||
|
sha256 = "sha256-ZVf+PPNL/DkJW4asJwW6/xpXVzZWIvLhsqaKh65eATM=";
|
||
|
};
|
||
|
|
||
|
in rec {
|
||
|
|
||
|
garage = (import "${src}/default.nix") { release = true; };
|
||
|
|
||
|
minioClient = minio-client;
|
||
|
|
||
|
env = buildEnv {
|
||
|
name = "cryptic-net-garage";
|
||
|
paths = [
|
||
|
garage
|
||
|
minioClient
|
||
|
./src
|
||
|
];
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|