3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/shells/oh/default.nix

26 lines
547 B
Nix
Raw Normal View History

2021-03-01 04:20:00 +00:00
{ buildGoModule, fetchFromGitHub, lib }:
2016-06-03 17:52:46 +01:00
2021-03-01 04:20:00 +00:00
buildGoModule rec {
pname = "oh";
2021-03-01 04:20:00 +00:00
version = "0.8.0";
2016-06-03 17:52:46 +01:00
2021-03-01 04:20:00 +00:00
src = fetchFromGitHub {
owner = "michaelmacinnis";
repo = pname;
rev = "v${version}";
sha256 = "0sdpk77i5mfamkdqldybl9znzz92hqgi4xvby5j28m0a5gw46kj0";
2016-06-03 17:52:46 +01:00
};
2021-03-01 04:20:00 +00:00
vendorSha256 = "12vlvh37hvi8c1i9arppm5wj4v9c98s7myxra10q6qpdqssgc8a0";
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";
license = licenses.mit;
};
passthru = {
shellPath = "/bin/oh";
2019-11-10 06:59:05 +00:00
};
2016-06-03 17:52:46 +01:00
}