1{ stdenv, buildGoPackage, fetchFromGitHub }:
2
3buildGoPackage rec {
4 name = "elvish-${version}";
5 version = "0.12";
6
7 goPackagePath = "github.com/elves/elvish";
8 excludedPackages = [ "website" ];
9
10 src = fetchFromGitHub {
11 repo = "elvish";
12 owner = "elves";
13 rev = version;
14 sha256 = "1vvbgkpnrnb5aaak4ks45wl0cyp0vbry8bpxl6v2dpmq9x0bscpp";
15 };
16
17 meta = with stdenv.lib; {
18 description = "A friendly and expressive Unix shell";
19 homepage = https://elv.sh/;
20 license = licenses.bsd2;
21 maintainers = with maintainers; [ vrthra ];
22 platforms = with platforms; linux ++ darwin;
23 };
24
25 passthru = {
26 shellPath = "/bin/elvish";
27 };
28}