nixpkgs/pkgs/shells/hilbish/default.nix

27 lines
773 B
Nix
Raw Normal View History

2021-05-06 23:40:42 +00:00
{ lib, buildGoModule, fetchFromGitHub, readline }:
buildGoModule rec {
pname = "hilbish";
2021-06-18 07:05:38 +00:00
version = "0.5.1";
2021-05-06 23:40:42 +00:00
src = fetchFromGitHub {
2021-06-13 00:15:26 +00:00
owner = "Rosettea";
2021-05-06 23:40:42 +00:00
repo = "Hilbish";
rev = "v${version}";
2021-06-18 07:05:38 +00:00
sha256 = "sha256-xqGesBNN9lZTYx0kTZfFARq1a/dEC+c3Fo0xLxZuZP4=";
2021-05-06 23:40:42 +00:00
};
2021-06-13 00:15:26 +00:00
vendorSha256 = "sha256-8l+Kb1ADMLwv0Hf/ikok8eUcEEST07rhk8BjHxJI0lc=";
2021-05-06 23:40:42 +00:00
buildInputs = [ readline ];
meta = with lib; {
description = "An interactive Unix-like shell written in Go";
2021-06-13 00:15:26 +00:00
changelog = "https://github.com/Rosettea/Hilbish/releases/tag/v${version}";
homepage = "https://github.com/Rosettea/Hilbish";
2021-05-06 23:40:42 +00:00
maintainers = with maintainers; [ fortuneteller2k ];
license = licenses.mit;
platforms = platforms.linux; # only officially supported on Linux
};
}