blob: 8a7d4971012568523f89185adfc5275f016f5b2e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "elvish-${version}";
version = "0.10";
postInstall = stdenv.lib.optionalString (stdenv.isDarwin) ''
install_name_tool -delete_rpath $out/lib $bin/bin/elvish
'';
goPackagePath = "github.com/elves/elvish";
src = fetchFromGitHub {
repo = "elvish";
owner = "elves";
rev = version;
sha256 = "0v6byd81nz0fbd3sdlippi1jn1z3gbqc2shnr7akd1n6k9259vrj";
};
meta = with stdenv.lib; {
description = "A friendly and expressive Unix shell";
homepage = https://github.com/elves/elvish;
license = licenses.bsd2;
maintainers = with maintainers; [ vrthra ];
platforms = with platforms; linux ++ darwin;
};
}
|