Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / ocaml-modules / linenoise / default.nix
blobeaeb053239e8f42a68a22c2830fc8a93ee37ab83
1 { lib, fetchFromGitHub, buildDunePackage, result }:
3 buildDunePackage rec {
4   pname = "linenoise";
5   version = "1.3.0";
7   useDune2 = true;
9   minimumOCamlVersion = "4.02";
11   src = fetchFromGitHub {
12     owner = "fxfactorial";
13     repo = "ocaml-${pname}";
14     rev = "v${version}";
15     sha256 = "0m9mm1arsawi5w5aqm57z41sy1wfxvhfgbdiw7hzy631i391144g";
16   };
18   propagatedBuildInputs = [ result ];
20   meta = {
21     description = "OCaml bindings to linenoise";
22     license = lib.licenses.bsd3;
23     maintainers = [ lib.maintainers.vbgl ];
24     inherit (src.meta) homepage;
25   };