Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitHub, buildDunePackage, result }:
2
3buildDunePackage rec {
4 pname = "linenoise";
5 version = "1.4.0";
6
7 minimalOCamlVersion = "4.03";
8
9 src = fetchFromGitHub {
10 owner = "fxfactorial";
11 repo = "ocaml-${pname}";
12 rev = "v${version}";
13 sha256 = "sha256-bIpZ9TO4/j24nQw5nsW7fUF7af5lhd/EmwhQRd0NYb4=";
14 };
15
16 propagatedBuildInputs = [ result ];
17
18 meta = {
19 description = "OCaml bindings to linenoise";
20 license = lib.licenses.bsd3;
21 maintainers = [ lib.maintainers.vbgl ];
22 inherit (src.meta) homepage;
23 };
24}