mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #175599 from aaronjheng/gcsfuse
gcsfuse: 0.41.1 -> 0.41.4
This commit is contained in:
commit
56c040049a
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user