Merge pull request #175599 from aaronjheng/gcsfuse

gcsfuse: 0.41.1 -> 0.41.4
This commit is contained in:
Mario Rodas 2022-06-24 21:31:36 -05:00 committed by GitHub
commit 56c040049a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,32 +1,32 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "gcsfuse";
version = "0.41.1";
version = "0.41.4";
src = fetchFromGitHub {
owner = "googlecloudplatform";
repo = "gcsfuse";
rev = "v${version}";
sha256 = "sha256-5Kfd033SG1ldF+2QCZ01aa7ts0mA8uPXiLmqZIr94YQ=";
sha256 = "sha256-8QzSvR/uelp9iBLK+DsUXsH6fBOIoeXePeN7Spht6SE=";
};
goPackagePath = "github.com/googlecloudplatform/gcsfuse";
vendorSha256 = null;
subPackages = [ "." "tools/mount_gcsfuse" ];
ldflags = [ "-s" "-w" "-X main.gcsfuseVersion=${version}" ];
postInstall = ''
ln -s $out/bin/mount_gcsfuse $out/bin/mount.gcsfuse
ln -s $out/bin/mount_gcsfuse $out/bin/mount.fuse.gcsfuse
'';
ldflags = [ "-s" "-w" "-X main.gcsfuseVersion=${version}" ];
meta = with lib;{
description = "A user-space file system for interacting with Google Cloud Storage";
homepage = "https://cloud.google.com/storage/docs/gcs-fuse";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = [];
maintainers = with maintainers; [ aaronjheng ];
};
}