diff options
Diffstat (limited to 'pkgs/tools/misc/rlwrap/default.nix')
-rw-r--r-- | pkgs/tools/misc/rlwrap/default.nix | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/pkgs/tools/misc/rlwrap/default.nix b/pkgs/tools/misc/rlwrap/default.nix deleted file mode 100644 index f1c2d6a58971..000000000000 --- a/pkgs/tools/misc/rlwrap/default.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, perl, readline }: - -stdenv.mkDerivation rec { - pname = "rlwrap"; - version = "0.46.1"; - - src = fetchFromGitHub { - owner = "hanslub42"; - repo = "rlwrap"; - rev = version; - sha256 = "sha256-yKJXfdxfaCsmPtI0KmTzfFKY+evUuytomVrLsSCYDGo="; - }; - - postPatch = '' - substituteInPlace src/readline.c \ - --replace "if(*p >= 0 && *p < ' ')" "if(*p >= 0 && (*p >= 0) && (*p < ' '))" - ''; - - nativeBuildInputs = [ autoreconfHook perl ]; - - buildInputs = [ readline ]; - - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-error=implicit-function-declaration"; - - meta = with lib; { - description = "Readline wrapper for console programs"; - homepage = "https://github.com/hanslub42/rlwrap"; - license = licenses.gpl2Plus; - platforms = platforms.unix; - maintainers = with maintainers; [ jlesquembre ]; - mainProgram = "rlwrap"; - }; -} |