File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 44 fetchFromGitHub ,
55 autoreconfHook ,
66 perl ,
7+ libptytty ,
78 readline ,
89} :
910
1011stdenv . mkDerivation ( finalAttrs : {
1112 pname = "rlwrap" ;
12- version = "0.46.2 " ;
13+ version = "0.48 " ;
1314
1415 src = fetchFromGitHub {
1516 owner = "hanslub42" ;
1617 repo = "rlwrap" ;
1718 tag = "v${ finalAttrs . version } " ;
18- hash = "sha256-05q24Y097GCcipXEPTbel/YIAtQl4jDyA9JFjDDM41Y =" ;
19+ hash = "sha256-Szgyjt/KRFEZMu6JX4Ulm2guTMwh9ejzjlfpkITWOI4 =" ;
1920 } ;
2021
2122 nativeBuildInputs = [
2223 autoreconfHook
2324 perl
2425 ] ;
2526
26- buildInputs = [ readline ] ;
27+ buildInputs = [
28+ libptytty
29+ readline
30+ ] ;
2731
2832 env . NIX_CFLAGS_COMPILE = lib . optionalString stdenv . hostPlatform . isDarwin "-Wno-error=implicit-function-declaration" ;
2933
34+ # no environment to compile completion.c, update its time to avoid recompiling
35+ preBuild = ''
36+ touch src/completion.rb
37+ touch src/completion.c
38+ '' ;
39+
3040 meta = {
3141 description = "Readline wrapper for console programs" ;
3242 homepage = "https://github.com/hanslub42/rlwrap" ;
33- changelog = "https://github.com/hanslub42/rlwrap/raw/refs/tags/v ${ finalAttrs . version } /NEWS" ;
43+ changelog = "https://github.com/hanslub42/rlwrap/raw/${ finalAttrs . src . rev } /NEWS" ;
3444 license = lib . licenses . gpl2Plus ;
3545 platforms = lib . platforms . unix ;
3646 maintainers = with lib . maintainers ; [ jlesquembre ] ;
You can’t perform that action at this time.
0 commit comments