File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
pkgs/by-name/ba/baidupcs-go Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 11{
2+ fetchFromGitHub ,
23 buildGo122Module ,
34 lib ,
4- fetchFromGitHub ,
55 versionCheckHook ,
66} :
77buildGo122Module rec {
88 pname = "baidupcs-go" ;
9- version = "3.9.5" ;
9+ version = "3.9.5-unstable-2024-06-23 " ;
1010 src = fetchFromGitHub {
1111 owner = "qjfoidnh" ;
1212 repo = "BaiduPCS-Go" ;
13- rev = "v ${ version } " ;
14- hash = "sha256-zNodRQzflOOB3hAeq4KbjRFlHQwknVy+4ucipUcoufY =" ;
13+ rev = "5612fc337b9556ed330274987a2f876961639cff " ;
14+ hash = "sha256-4mCJ5gVHjjvR6HNo47NTJvQEu7cdZZMfO8qQA7Kqzqo =" ;
1515 } ;
1616
1717 vendorHash = "sha256-msTlXtidxLTe3xjxTOWCqx/epFT0XPdwGPantDJUGpc=" ;
1818 doCheck = false ;
1919
20+ ldflags = [
21+ "-X main.Version=${ version } "
22+ ] ;
23+
2024 nativeInstallCheckInputs = [
2125 versionCheckHook
2226 ] ;
2327 doInstallCheck = true ;
2428 versionCheckProgram = "${ placeholder "out" } /bin/${ meta . mainProgram } " ;
2529
2630 meta = {
31+ mainProgram = "BaiduPCS-Go" ;
2732 maintainers = with lib . maintainers ; [ xddxdd ] ;
2833 description = "Baidu Netdisk commandline client, mimicking Linux shell file handling commands" ;
2934 homepage = "https://github.com/qjfoidnh/BaiduPCS-Go" ;
3035 license = lib . licenses . asl20 ;
31- mainProgram = "BaiduPCS-Go" ;
3236 } ;
3337}
You can’t perform that action at this time.
0 commit comments