2021-01-11 13:49:15 +01:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage, result }:
|
2018-06-05 20:29:00 +02:00
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "linenoise";
|
2022-03-24 15:34:27 +01:00
|
|
|
version = "1.3.1";
|
2018-11-05 11:21:46 +01:00
|
|
|
|
2021-02-24 20:55:51 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
|
2018-06-05 20:29:00 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fxfactorial";
|
2018-11-05 11:21:46 +01:00
|
|
|
repo = "ocaml-${pname}";
|
2018-06-05 20:29:00 +02:00
|
|
|
rev = "v${version}";
|
2022-03-24 15:34:27 +01:00
|
|
|
sha256 = "sha256-5DlF56reh52Tvbi3wGK8ZrPBAYK0ZTBV3jz8qUsyKGk=";
|
2018-06-05 20:29:00 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ result ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "OCaml bindings to linenoise";
|
2021-01-11 13:49:15 +01:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
2018-06-05 20:29:00 +02:00
|
|
|
inherit (src.meta) homepage;
|
|
|
|
};
|
|
|
|
}
|