rlwrap: 0.46.2 -> 0.48 (#452874)
This commit is contained in:
@@ -4,18 +4,19 @@
|
||||
fetchFromGitHub,
|
||||
autoreconfHook,
|
||||
perl,
|
||||
libptytty,
|
||||
readline,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "rlwrap";
|
||||
version = "0.46.2";
|
||||
version = "0.48";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hanslub42";
|
||||
repo = "rlwrap";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-05q24Y097GCcipXEPTbel/YIAtQl4jDyA9JFjDDM41Y=";
|
||||
hash = "sha256-Szgyjt/KRFEZMu6JX4Ulm2guTMwh9ejzjlfpkITWOI4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -23,14 +24,23 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
perl
|
||||
];
|
||||
|
||||
buildInputs = [ readline ];
|
||||
buildInputs = [
|
||||
libptytty
|
||||
readline
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-error=implicit-function-declaration";
|
||||
|
||||
# no environment to compile completion.c, update its time to avoid recompiling
|
||||
preBuild = ''
|
||||
touch src/completion.rb
|
||||
touch src/completion.c
|
||||
'';
|
||||
|
||||
meta = {
|
||||
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";
|
||||
changelog = "https://github.com/hanslub42/rlwrap/raw/${finalAttrs.src.rev}/NEWS";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ jlesquembre ];
|
||||
|
||||
Reference in New Issue
Block a user