File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed
pkgs/applications/version-management/git-gone Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change 55 rustPlatform ,
66 Security ,
77 installShellFiles ,
8+ asciidoctor ,
89} :
910
1011rustPlatform . buildRustPackage rec {
1112 pname = "git-gone" ;
12- version = "1.1.1 " ;
13+ version = "1.2.5 " ;
1314
1415 src = fetchFromGitHub {
1516 owner = "swsnr" ;
1617 repo = "git-gone" ;
17- rev = "v${ version } " ;
18- hash = "sha256-j88ZnJ0V8h/fthOWwV6B0ZbzUz7THykqrI2QpOkDT4I =" ;
18+ tag = "v${ version } " ;
19+ hash = "sha256-4BhFombZCmv/GNG2OcNlWNKTk2h65yKn1ku734gCBCQ =" ;
1920 } ;
2021
22+ # remove if updating to rust 1.85
23+ postPatch = ''
24+ substituteInPlace Cargo.toml \
25+ --replace-fail "[package]" '' $'cargo-features = ["edition2024"]\n[package]'
26+ '' ;
27+
2128 useFetchCargoVendor = true ;
22- cargoHash = "sha256-fXdWwGkdMhZA9u/xbvRIV6m88q6SQDahU12ZjQZFu3Y=" ;
29+ cargoHash = "sha256-VjnnrVN+uST99paImI1uNj34CNozid7ZiPslJqvmKCs=" ;
30+
31+ # remove if updating to rust 1.85
32+ env . RUSTC_BOOTSTRAP = 1 ;
2333
24- nativeBuildInputs = [ installShellFiles ] ;
34+ nativeBuildInputs = [
35+ installShellFiles
36+ asciidoctor
37+ ] ;
2538
2639 buildInputs = lib . optionals stdenv . hostPlatform . isDarwin [ Security ] ;
2740
2841 postInstall = ''
42+ asciidoctor --backend=manpage git-gone.1.adoc -o git-gone.1
2943 installManPage git-gone.1
3044 '' ;
3145
You can’t perform that action at this time.
0 commit comments