Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildGoModule, fetchFromGitHub, lib }:
2
3buildGoModule rec {
4 pname = "oh";
5 version = "0.8.3";
6
7 src = fetchFromGitHub {
8 owner = "michaelmacinnis";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-ryIh6MRIOVZPm2USpJC69Z/upIXGUHgcd17eZBA9Edc=";
12 };
13
14 vendorHash = "sha256-Qma5Vk0JO/tTrZanvTCE40LmjeCfBup3U3N7gyhfp44=";
15
16 meta = with lib; {
17 homepage = "https://github.com/michaelmacinnis/oh";
18 description = "New Unix shell";
19 mainProgram = "oh";
20 license = licenses.mit;
21 };
22
23 passthru = {
24 shellPath = "/bin/oh";
25 };
26}