summary refs log blame commit diff
path: root/pkgs/development/libraries/linenoise-ng/default.nix
blob: d19d6748147cc1b3fe1743df04bcd5fc03992af8 (plain) (tree)
1
2
3
4
                                        

                         
                         











                                                                    
                                                          
                                                                                                                                          


                                                     

    
{ 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;
  };
}