Loading pkgs/by-name/rl/rlwrap/package.nix +6 −10 Original line number Diff line number Diff line Loading @@ -7,22 +7,17 @@ readline, }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "rlwrap"; version = "0.46.1"; version = "0.46.2"; src = fetchFromGitHub { owner = "hanslub42"; repo = "rlwrap"; rev = version; sha256 = "sha256-yKJXfdxfaCsmPtI0KmTzfFKY+evUuytomVrLsSCYDGo="; tag = "v${finalAttrs.version}"; hash = "sha256-05q24Y097GCcipXEPTbel/YIAtQl4jDyA9JFjDDM41Y="; }; postPatch = '' substituteInPlace src/readline.c \ --replace "if(*p >= 0 && *p < ' ')" "if(*p >= 0 && (*p >= 0) && (*p < ' '))" ''; nativeBuildInputs = [ autoreconfHook perl Loading @@ -35,9 +30,10 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Readline wrapper for console programs"; homepage = "https://github.com/hanslub42/rlwrap"; changelog = "https://github.com/hanslub42/rlwrap/raw/refs/tags/v${finalAttrs.version}/NEWS"; license = licenses.gpl2Plus; platforms = platforms.unix; maintainers = with maintainers; [ jlesquembre ]; mainProgram = "rlwrap"; }; } }) Loading
pkgs/by-name/rl/rlwrap/package.nix +6 −10 Original line number Diff line number Diff line Loading @@ -7,22 +7,17 @@ readline, }: stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: { pname = "rlwrap"; version = "0.46.1"; version = "0.46.2"; src = fetchFromGitHub { owner = "hanslub42"; repo = "rlwrap"; rev = version; sha256 = "sha256-yKJXfdxfaCsmPtI0KmTzfFKY+evUuytomVrLsSCYDGo="; tag = "v${finalAttrs.version}"; hash = "sha256-05q24Y097GCcipXEPTbel/YIAtQl4jDyA9JFjDDM41Y="; }; postPatch = '' substituteInPlace src/readline.c \ --replace "if(*p >= 0 && *p < ' ')" "if(*p >= 0 && (*p >= 0) && (*p < ' '))" ''; nativeBuildInputs = [ autoreconfHook perl Loading @@ -35,9 +30,10 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Readline wrapper for console programs"; homepage = "https://github.com/hanslub42/rlwrap"; changelog = "https://github.com/hanslub42/rlwrap/raw/refs/tags/v${finalAttrs.version}/NEWS"; license = licenses.gpl2Plus; platforms = platforms.unix; maintainers = with maintainers; [ jlesquembre ]; mainProgram = "rlwrap"; }; } })