depot/third_party/nixpkgs/pkgs/development/libraries/linenoise-ng/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

23 lines
665 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; [ cstrahan ];
platforms = lib.platforms.all;
license = lib.licenses.bsd3;
};
}