gcsfuse: add changelog to meta
This commit is contained in:
parent
e5cbb7ab5e
commit
0f1e65656d
1 changed files with 16 additions and 5 deletions
|
@ -1,4 +1,7 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gcsfuse";
|
||||
|
@ -7,15 +10,22 @@ buildGoModule rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "googlecloudplatform";
|
||||
repo = "gcsfuse";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-rtBqXC1CTkbKDP6pzkRQ7GnM5f4xt6eUMW3n9wZu0hc=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-rtBqXC1CTkbKDP6pzkRQ7GnM5f4xt6eUMW3n9wZu0hc=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
subPackages = [ "." "tools/mount_gcsfuse" ];
|
||||
subPackages = [
|
||||
"."
|
||||
"tools/mount_gcsfuse"
|
||||
];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.gcsfuseVersion=${version}" ];
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.gcsfuseVersion=${version}"
|
||||
];
|
||||
|
||||
preCheck =
|
||||
let skippedTests = [
|
||||
|
@ -35,6 +45,7 @@ buildGoModule rec {
|
|||
meta = with lib;{
|
||||
description = "A user-space file system for interacting with Google Cloud Storage";
|
||||
homepage = "https://cloud.google.com/storage/docs/gcs-fuse";
|
||||
changelog = "https://github.com/GoogleCloudPlatform/gcsfuse/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ aaronjheng ];
|
||||
|
|
Loading…
Reference in a new issue