1{
2 buildDunePackage,
3 linenoise,
4 fetchFromGitHub,
5 lib,
6}:
7
8buildDunePackage rec {
9 pname = "ocamline";
10 version = "1.2";
11 src = fetchFromGitHub {
12 owner = "chrisnevers";
13 repo = pname;
14 rev = version;
15 sha256 = "Sljm/Bfr2Eo0d75tmJRuWUkkfHUYQ0g27+FzXBePnVg=";
16 };
17
18 propagatedBuildInputs = [ linenoise ];
19
20 meta = with lib; {
21 homepage = "https://chrisnevers.github.io/ocamline/";
22 description = "Command line interface for user input";
23 license = licenses.bsd3;
24 maintainers = with maintainers; [ mgttlinger ];
25 };
26}