1{ buildGoModule, fetchFromGitHub, lib }:
2
3buildGoModule rec {
4 pname = "oh";
5 version = "0.8.1";
6
7 src = fetchFromGitHub {
8 owner = "michaelmacinnis";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-DMxC5fv5ZLDv7gMajC/eyJd2YpO+OXFdvwAPYotnczw=";
12 };
13
14 vendorSha256 = "sha256-f4rqXOu6yXUzNsseSaV9pb8c2KXItYOalB5pfH3Acnc=";
15
16 meta = with lib; {
17 homepage = "https://github.com/michaelmacinnis/oh";
18 description = "A new Unix shell";
19 license = licenses.mit;
20 };
21
22 passthru = {
23 shellPath = "/bin/oh";
24 };
25}