Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
24 lines
551 B
Nix
24 lines
551 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, result }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "linenoise";
|
|
version = "1.5.1";
|
|
|
|
minimalOCamlVersion = "4.03";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fxfactorial";
|
|
repo = "ocaml-${pname}";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-yWBWMbk1anXaF4hIakTOcRZFCYmxI0xG3bHFFOAyEDA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ result ];
|
|
|
|
meta = {
|
|
description = "OCaml bindings to linenoise";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
inherit (src.meta) homepage;
|
|
};
|
|
}
|