nixpkgs/pkgs/shells/oh/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
567 B
Nix
Raw Normal View History

2021-03-01 04:20:00 +00:00
{ buildGoModule, fetchFromGitHub, lib }:
2016-06-03 16:52:46 +00:00
2021-03-01 04:20:00 +00:00
buildGoModule rec {
pname = "oh";
2023-11-02 23:27:48 +00:00
version = "0.8.3";
2016-06-03 16:52:46 +00:00
2021-03-01 04:20:00 +00:00
src = fetchFromGitHub {
owner = "michaelmacinnis";
repo = pname;
rev = "v${version}";
2023-11-02 23:27:48 +00:00
sha256 = "sha256-ryIh6MRIOVZPm2USpJC69Z/upIXGUHgcd17eZBA9Edc=";
2016-06-03 16:52:46 +00:00
};
2023-11-02 23:27:48 +00:00
vendorHash = "sha256-Qma5Vk0JO/tTrZanvTCE40LmjeCfBup3U3N7gyhfp44=";
2019-11-10 06:59:05 +00:00
2021-03-01 04:20:00 +00:00
meta = with lib; {
2019-11-10 06:59:05 +00:00
homepage = "https://github.com/michaelmacinnis/oh";
2021-03-01 04:20:00 +00:00
description = "A new Unix shell";
mainProgram = "oh";
2021-03-01 04:20:00 +00:00
license = licenses.mit;
};
passthru = {
shellPath = "/bin/oh";
2019-11-10 06:59:05 +00:00
};
2016-06-03 16:52:46 +00:00
}