nixpkgs/pkgs/development/ocaml-modules/ocamline/default.nix
2022-10-27 11:10:08 +02:00

22 lines
545 B
Nix

{ buildDunePackage, linenoise, fetchFromGitHub, lib }:
buildDunePackage rec {
pname = "ocamline";
version = "1.2";
src = fetchFromGitHub {
owner = "chrisnevers";
repo = pname;
rev = version;
sha256 = "Sljm/Bfr2Eo0d75tmJRuWUkkfHUYQ0g27+FzXBePnVg=";
};
propagatedBuildInputs = [ linenoise ];
meta = with lib; {
homepage = "https://chrisnevers.github.io/ocamline/";
description = "Command line interface for user input";
license = licenses.bsd3;
maintainers = with maintainers; [ mgttlinger ];
};
}