Skip to content

Commit

Permalink
baidupcs-go: 3.9.5 -> 3.9.5-unstable-2024-06-23 (#355356)
Browse files Browse the repository at this point in the history
  • Loading branch information
jian-lin authored Nov 12, 2024
2 parents 99e2d89 + 49f511e commit 5af0e37
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions pkgs/by-name/ba/baidupcs-go/package.nix
Original file line number Diff line number Diff line change
@@ -1,33 +1,37 @@
{
fetchFromGitHub,
buildGo122Module,
lib,
fetchFromGitHub,
versionCheckHook,
}:
buildGo122Module rec {
pname = "baidupcs-go";
version = "3.9.5";
version = "3.9.5-unstable-2024-06-23";
src = fetchFromGitHub {
owner = "qjfoidnh";
repo = "BaiduPCS-Go";
rev = "v${version}";
hash = "sha256-zNodRQzflOOB3hAeq4KbjRFlHQwknVy+4ucipUcoufY=";
rev = "5612fc337b9556ed330274987a2f876961639cff";
hash = "sha256-4mCJ5gVHjjvR6HNo47NTJvQEu7cdZZMfO8qQA7Kqzqo=";
};

vendorHash = "sha256-msTlXtidxLTe3xjxTOWCqx/epFT0XPdwGPantDJUGpc=";
doCheck = false;

ldflags = [
"-X main.Version=${version}"
];

nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
versionCheckProgram = "${placeholder "out"}/bin/${meta.mainProgram}";

meta = {
mainProgram = "BaiduPCS-Go";
maintainers = with lib.maintainers; [ xddxdd ];
description = "Baidu Netdisk commandline client, mimicking Linux shell file handling commands";
homepage = "https://github.com/qjfoidnh/BaiduPCS-Go";
license = lib.licenses.asl20;
mainProgram = "BaiduPCS-Go";
};
}

0 comments on commit 5af0e37

Please sign in to comment.