2021-01-11 12:49:15 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, result }:
|
2018-06-05 18:29:00 +00:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "linenoise";
|
2022-11-14 16:03:41 +00:00
|
|
|
version = "1.4.0";
|
2018-11-05 10:21:46 +00:00
|
|
|
|
2022-11-14 16:03:41 +00:00
|
|
|
minimalOCamlVersion = "4.03";
|
2018-11-05 10:21:46 +00:00
|
|
|
|
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}";
|
2022-11-14 16:03:41 +00:00
|
|
|
sha256 = "sha256-bIpZ9TO4/j24nQw5nsW7fUF7af5lhd/EmwhQRd0NYb4=";
|
2018-06-05 18:29:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ result ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "OCaml bindings to linenoise";
|
2021-01-11 12:49:15 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2018-06-05 18:29:00 +00:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|