mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
1451a52a38
I haven't been doing any maintenance for a long time now and not only do I get notified, it also creates a fake impression that all these packages had at least one maintainer when in practice they had none.
27 lines
722 B
Nix
27 lines
722 B
Nix
{ stdenv, fetchurl, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rlwrap";
|
|
version = "0.43";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/hanslub42/rlwrap/releases/download/v${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "0bzb7ylk2770iv59v2d0gypb21y2xn87m299s9rqm6rdi2vx11lf";
|
|
};
|
|
|
|
buildInputs = [ readline ];
|
|
|
|
# Be high-bit-friendly
|
|
preBuild = ''
|
|
sed -i src/readline.c -e "s@[*]p [<] ' '@(*p >= 0) \\&\\& (*p < ' ')@"
|
|
'';
|
|
|
|
meta = {
|
|
description = "Readline wrapper for console programs";
|
|
homepage = https://github.com/hanslub42/rlwrap;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
|
};
|
|
}
|