depot/third_party/nixpkgs/pkgs/development/libraries/linenoise-ng/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

23 lines
632 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 = "Small, portable GNU readline replacement for Linux, Windows and MacOS which is capable of handling UTF-8 characters";
maintainers = [ ];
platforms = lib.platforms.all;
license = lib.licenses.bsd3;
};
}