Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildDunePackage, linenoise, fetchFromGitHub, lib }:
2
3buildDunePackage rec {
4 pname = "ocamline";
5 version = "1.2";
6 src = fetchFromGitHub {
7 owner = "chrisnevers";
8 repo = pname;
9 rev = version;
10 sha256 = "Sljm/Bfr2Eo0d75tmJRuWUkkfHUYQ0g27+FzXBePnVg=";
11 };
12
13 propagatedBuildInputs = [ linenoise ];
14
15 meta = with lib; {
16 homepage = "https://chrisnevers.github.io/ocamline/";
17 description = "Command line interface for user input";
18 license = licenses.bsd3;
19 maintainers = with maintainers; [ mgttlinger ];
20 };
21}