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