2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2017-07-25 02:44:52 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "linenoise-ng";
|
2017-07-25 02:44:52 +01:00
|
|
|
version = "1.0.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "arangodb";
|
|
|
|
repo = "linenoise-ng";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "176iz0kj0p8d8i3jqps4z8xkxwl3f1986q88i9xg5fvqgpzsxp20";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/arangodb/linenoise-ng";
|
2017-07-25 02:44:52 +01:00
|
|
|
description = "A small, portable GNU readline replacement for Linux, Windows and MacOS which is capable of handling UTF-8 characters";
|
2021-01-21 17:00:13 +00:00
|
|
|
maintainers = with lib.maintainers; [ cstrahan ];
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
license = lib.licenses.bsd3;
|
2017-07-25 02:44:52 +01:00
|
|
|
};
|
|
|
|
}
|