summary refs log tree commit diff
path: root/pkgs/development/libraries/linenoise-ng
diff options
context:
space:
mode:
authorCharles Strahan <charles@cstrahan.com>2017-07-24 21:44:52 -0400
committerCharles Strahan <charles@cstrahan.com>2017-07-24 21:44:52 -0400
commitdc21851707e8a515539f666816dcb85393622b2b (patch)
tree85406dd0585946afb48b7528e41fed9b171129c5 /pkgs/development/libraries/linenoise-ng
parent7f8e3f87b3d7bfd7a1ad32d155b411c809bfa7d2 (diff)
downloadnixpkgs-dc21851707e8a515539f666816dcb85393622b2b.tar
nixpkgs-dc21851707e8a515539f666816dcb85393622b2b.tar.gz
nixpkgs-dc21851707e8a515539f666816dcb85393622b2b.tar.bz2
nixpkgs-dc21851707e8a515539f666816dcb85393622b2b.tar.lz
nixpkgs-dc21851707e8a515539f666816dcb85393622b2b.tar.xz
nixpkgs-dc21851707e8a515539f666816dcb85393622b2b.tar.zst
nixpkgs-dc21851707e8a515539f666816dcb85393622b2b.zip
linenoise-ng: init at 1.0.1
Diffstat (limited to 'pkgs/development/libraries/linenoise-ng')
-rw-r--r--pkgs/development/libraries/linenoise-ng/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/linenoise-ng/default.nix b/pkgs/development/libraries/linenoise-ng/default.nix
new file mode 100644
index 00000000000..b3333d58242
--- /dev/null
+++ b/pkgs/development/libraries/linenoise-ng/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, lib, fetchFromGitHub, cmake }:
+
+stdenv.mkDerivation rec {
+  name = "linenoise-ng-${version}";
+  version = "1.0.1";
+
+  src = fetchFromGitHub {
+    owner = "arangodb";
+    repo = "linenoise-ng";
+    rev = "v${version}";
+    sha256 = "176iz0kj0p8d8i3jqps4z8xkxwl3f1986q88i9xg5fvqgpzsxp20";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  meta = {
+    homepage = "https://github.com/arangodb/linenoise-ng";
+    description = "A small, portable GNU readline replacement for Linux, Windows and MacOS which is capable of handling UTF-8 characters";
+    maintainers = with stdenv.lib.maintainers; [ cstrahan ];
+    platforms = stdenv.lib.platforms.all;
+    license = stdenv.lib.licenses.bsd3;
+  };
+}