about summary refs log tree commit diff
path: root/editline.nix
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-10-29T13·44-0500
committerWill Dietz <w@wdtz.org>2018-10-29T13·44-0500
commit3d974d31facefe8eaf59af56b0187e6a63fdd0cc (patch)
treed9eac6b0618b52116ec820b600e34640e03ed3cf /editline.nix
parentf90a67e24d906bdb86c86b9d1c7e6307aeb6ff7c (diff)
editline: wip
Diffstat (limited to 'editline.nix')
-rw-r--r--editline.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/editline.nix b/editline.nix
new file mode 100644
index 000000000000..d9b5a2b64d63
--- /dev/null
+++ b/editline.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub, autoreconfHook }:
+
+stdenv.mkDerivation rec {
+  name = "editline-${version}";
+  version = "1.15.3";
+  src = fetchFromGitHub {
+    owner = "troglobit";
+    repo = "editline";
+    rev = version;
+    sha256 = "0dm5fgq0acpprr938idwml64nclg9l6c6avirsd8r6f40qicbgma";
+  };
+
+  nativeBuildInputs = [ autoreconfHook ];
+
+  dontDisableStatic = true;
+
+  meta = with stdenv.lib; {
+    homepage = http://troglobit.com/editline.html;
+    description = "A readline() replacement for UNIX without termcap (ncurses)";
+    license = licenses.bsdOriginal;
+    maintainers = with maintainers; [ dtzWill ];
+    platforms = platforms.all;
+  };
+}