nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
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 = {
21 homepage = "https://chrisnevers.github.io/ocamline/";
22 description = "Command line interface for user input";
23 license = lib.licenses.bsd3;
24 maintainers = with lib.maintainers; [ mgttlinger ];
25 };
26}