depot/third_party/nixpkgs/pkgs/development/libraries/linenoise-ng/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

23 lines
656 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "linenoise-ng";
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 lib.maintainers; [ ];
platforms = lib.platforms.all;
license = lib.licenses.bsd3;
};
}