nixpkgs/pkgs/development/ocaml-modules/linenoise/default.nix
sternenseemann 4e42cac49d ocamlPackages: stdenv.lib → lib
This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.

Reference #108938.
2021-01-12 16:33:18 +01:00

25 lines
552 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, result }:
buildDunePackage rec {
pname = "linenoise";
version = "1.3.0";
minimumOCamlVersion = "4.02";
src = fetchFromGitHub {
owner = "fxfactorial";
repo = "ocaml-${pname}";
rev = "v${version}";
sha256 = "0m9mm1arsawi5w5aqm57z41sy1wfxvhfgbdiw7hzy631i391144g";
};
propagatedBuildInputs = [ result ];
meta = {
description = "OCaml bindings to linenoise";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.vbgl ];
inherit (src.meta) homepage;
};
}