gcsfuse: add changelog to meta

This commit is contained in:
Fabian Affolter 2023-01-04 08:57:29 +01:00 committed by GitHub
parent e5cbb7ab5e
commit 0f1e65656d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ];