diff --git a/pkgs/shells/hilbish/default.nix b/pkgs/shells/hilbish/default.nix new file mode 100644 index 000000000000..e0449ce24c22 --- /dev/null +++ b/pkgs/shells/hilbish/default.nix @@ -0,0 +1,26 @@ +{ lib, buildGoModule, fetchFromGitHub, readline }: + +buildGoModule rec { + pname = "hilbish"; + version = "0.4.0"; + + src = fetchFromGitHub { + owner = "Hilbis"; + repo = "Hilbish"; + rev = "v${version}"; + sha256 = "sha256-7YJkjkA6lGyO4PwJcdeUzqQvFsslDfIqAH6vlBtyYz8="; + }; + + vendorSha256 = "sha256-9FftzTn5nxjfsHStcnrn9a+sECmcHRBUEtFjsMp8/ks="; + + buildInputs = [ readline ]; + + meta = with lib; { + description = "An interactive Unix-like shell written in Go"; + changelog = "https://github.com/Hilbis/Hilbish/releases/tag/v${version}"; + homepage = "https://github.com/Hilbis/Hilbish"; + maintainers = with maintainers; [ fortuneteller2k ]; + license = licenses.mit; + platforms = platforms.linux; # only officially supported on Linux + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d8e77bcf6d4d..7447386099d6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1477,6 +1477,8 @@ in harvid = callPackage ../tools/video/harvid { }; + hilbish = callPackage ../shells/hilbish { }; + hime = callPackage ../tools/inputmethods/hime {}; hinit = haskell.lib.justStaticExecutables haskellPackages.hinit;