gcsfuse: 0.41.1 -> 0.41.4

This commit is contained in:
Aaron Jheng 2022-05-31 11:53:40 +00:00
parent f43ff7ef71
commit bc7002316a
No known key found for this signature in database
GPG key ID: F6A547A869D050A3

View file

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