depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ocamline/default.nix

22 lines
545 B
Nix
Raw Normal View History

{ 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 ];
};
}