File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
pkgs/by-name/pa/pay-respects Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 22 lib ,
33 fetchFromGitea ,
44 rustPlatform ,
5+ versionCheckHook ,
56} :
6- rustPlatform . buildRustPackage rec {
7+ rustPlatform . buildRustPackage ( finalAttrs : {
78 pname = "pay-respects" ;
89 version = "0.7.6" ;
910
1011 src = fetchFromGitea {
1112 domain = "codeberg.org" ;
1213 owner = "iff" ;
1314 repo = "pay-respects" ;
14- rev = "v${ version } " ;
15+ tag = "v${ finalAttrs . version } " ;
1516 hash = "sha256-+50MKpZgJqjuUvJeFFv8fMILkJ3cOAN7R7kmlR+98II=" ;
1617 } ;
1718
1819 useFetchCargoVendor = true ;
1920 cargoHash = "sha256-TJP+GPkXwPvnBwiF0SCkn8NGz/xyrYjbUZKCbUUSqHQ=" ;
2021
22+ nativeInstallCheckInputs = [ versionCheckHook ] ;
23+ doInstallCheck = true ;
24+
2125 meta = {
22- description = "Terminal command correction, alternative to ` thefuck` , written in Rust" ;
26+ description = "Terminal command correction, alternative to thefuck, written in Rust" ;
2327 homepage = "https://codeberg.org/iff/pay-respects" ;
28+ changelog = "https://codeberg.org/iff/pay-respects/src/tag/v${ finalAttrs . version } /CHANGELOG.md" ;
2429 license = lib . licenses . agpl3Plus ;
2530 maintainers = with lib . maintainers ; [
2631 sigmasquadron
@@ -29,4 +34,4 @@ rustPlatform.buildRustPackage rec {
2934 ] ;
3035 mainProgram = "pay-respects" ;
3136 } ;
32- }
37+ } )
You can’t perform that action at this time.
0 commit comments