2018-11-05 10:21:46 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage, result }:
|
2018-06-05 18:29:00 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "linenoise";
|
2020-04-06 23:23:35 +00:00
|
|
|
version = "1.3.0";
|
2018-11-05 10:21:46 +00:00
|
|
|
|
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
|
2018-06-05 18:29:00 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fxfactorial";
|
2018-11-05 10:21:46 +00:00
|
|
|
repo = "ocaml-${pname}";
|
2018-06-05 18:29:00 +00:00
|
|
|
rev = "v${version}";
|
2020-04-06 23:23:35 +00:00
|
|
|
sha256 = "0m9mm1arsawi5w5aqm57z41sy1wfxvhfgbdiw7hzy631i391144g";
|
2018-06-05 18:29:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ result ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "OCaml bindings to linenoise";
|
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|