2021-03-01 05:20:00 +01:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2016-06-03 18:52:46 +02:00
|
|
|
|
2021-03-01 05:20:00 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "oh";
|
2022-06-23 16:41:11 +02:00
|
|
|
version = "0.8.1";
|
2016-06-03 18:52:46 +02:00
|
|
|
|
2021-03-01 05:20:00 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "michaelmacinnis";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-06-23 16:41:11 +02:00
|
|
|
sha256 = "sha256-DMxC5fv5ZLDv7gMajC/eyJd2YpO+OXFdvwAPYotnczw=";
|
2016-06-03 18:52:46 +02:00
|
|
|
};
|
|
|
|
|
2022-06-23 16:41:11 +02:00
|
|
|
vendorSha256 = "sha256-f4rqXOu6yXUzNsseSaV9pb8c2KXItYOalB5pfH3Acnc=";
|
2019-11-10 07:59:05 +01:00
|
|
|
|
2021-03-01 05:20:00 +01:00
|
|
|
meta = with lib; {
|
2019-11-10 07:59:05 +01:00
|
|
|
homepage = "https://github.com/michaelmacinnis/oh";
|
2021-03-01 05:20:00 +01:00
|
|
|
description = "A new Unix shell";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
shellPath = "/bin/oh";
|
2019-11-10 07:59:05 +01:00
|
|
|
};
|
2016-06-03 18:52:46 +02:00
|
|
|
}
|