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