chore(third_party/geesefs): move to expression in nixpkgs
This now exists in nixpkgs, and a more recent version of it. Change-Id: I51fe038ba9459587952028f77e97b48212d13e74 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11762 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
075f7617c3
commit
f1aa5edb55
3 changed files with 2 additions and 27 deletions
25
third_party/geesefs/default.nix
vendored
25
third_party/geesefs/default.nix
vendored
|
@ -1,25 +0,0 @@
|
|||
# Finally, a good FUSE FS implementation over S3.
|
||||
# https://github.com/yandex-cloud/geesefs
|
||||
|
||||
{ pkgs, ... }:
|
||||
|
||||
pkgs.buildGoModule rec {
|
||||
pname = "geesefs";
|
||||
version = "0.40.1";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "yandex-cloud";
|
||||
repo = "geesefs";
|
||||
rev = "v${version}";
|
||||
hash = "sha256:0ig8h17z8n5j8qb7k2jyh40vv77zazhnz8bxdam9xihxksj8mizp";
|
||||
};
|
||||
|
||||
subPackages = [ "." ];
|
||||
buildInputs = [ pkgs.fuse ];
|
||||
vendorHash = "sha256:11i7cmnlxi00d0csgpv8drfcw0aqshwc4hfs0jw7zwafdhnlyy0j";
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.tazjin ];
|
||||
};
|
||||
}
|
|
@ -9,5 +9,5 @@ pkgs.writeShellScriptBin "chase-geese" ''
|
|||
|
||||
echo "Mounting the cloud ..."
|
||||
mkdir -p ~/cloud
|
||||
${depot.third_party.geesefs}/bin/geesefs tazjins-files ~/cloud
|
||||
${pkgs.geesefs}/bin/geesefs tazjins-files ~/cloud
|
||||
''
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
mkdir -p $STATE_DIRECTORY/tazjins-files $STATE_DIRECTORY/cache
|
||||
|
||||
${depot.third_party.geesefs}/bin/geesefs \
|
||||
${pkgs.geesefs}/bin/geesefs \
|
||||
-f -o allow_other \
|
||||
--cache $STATE_DIRECTORY/cache \
|
||||
--shared-config $CREDENTIALS_DIRECTORY/geesefs-tazjins-files \
|
||||
|
|
Loading…
Reference in a new issue