mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
27 lines
571 B
Nix
27 lines
571 B
Nix
{ lib, fetchFromGitHub, buildDunePackage, result }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "linenoise";
|
|
version = "1.3.1";
|
|
|
|
useDune2 = true;
|
|
|
|
minimumOCamlVersion = "4.02";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fxfactorial";
|
|
repo = "ocaml-${pname}";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-5DlF56reh52Tvbi3wGK8ZrPBAYK0ZTBV3jz8qUsyKGk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ result ];
|
|
|
|
meta = {
|
|
description = "OCaml bindings to linenoise";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
inherit (src.meta) homepage;
|
|
};
|
|
}
|