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