mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
rlwrap: 0.46.1 -> 0.46.2 (#410783)
This commit is contained in:
commit
f646c51d4b
1 changed files with 6 additions and 10 deletions
|
@ -7,22 +7,17 @@
|
||||||
readline,
|
readline,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "rlwrap";
|
pname = "rlwrap";
|
||||||
version = "0.46.1";
|
version = "0.46.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hanslub42";
|
owner = "hanslub42";
|
||||||
repo = "rlwrap";
|
repo = "rlwrap";
|
||||||
rev = version;
|
tag = "v${finalAttrs.version}";
|
||||||
sha256 = "sha256-yKJXfdxfaCsmPtI0KmTzfFKY+evUuytomVrLsSCYDGo=";
|
hash = "sha256-05q24Y097GCcipXEPTbel/YIAtQl4jDyA9JFjDDM41Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace src/readline.c \
|
|
||||||
--replace "if(*p >= 0 && *p < ' ')" "if(*p >= 0 && (*p >= 0) && (*p < ' '))"
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
autoreconfHook
|
autoreconfHook
|
||||||
perl
|
perl
|
||||||
|
@ -35,9 +30,10 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Readline wrapper for console programs";
|
description = "Readline wrapper for console programs";
|
||||||
homepage = "https://github.com/hanslub42/rlwrap";
|
homepage = "https://github.com/hanslub42/rlwrap";
|
||||||
|
changelog = "https://github.com/hanslub42/rlwrap/raw/refs/tags/v${finalAttrs.version}/NEWS";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = with maintainers; [ jlesquembre ];
|
maintainers = with maintainers; [ jlesquembre ];
|
||||||
mainProgram = "rlwrap";
|
mainProgram = "rlwrap";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue