1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/shells/elvish/default.nix
Dan Peebles b426c85ce2 Get rid of most @rpath nonsense on Darwin
This requires some small changes in the stdenv, then working around the
weird choice LLVM made to hardcode @rpath in its install name, and then
lets us remove a ton of annoying workaround hacks in many of our Go
packages. With any luck this will mean less hackery going forward.
2017-10-08 16:13:46 -04:00

24 lines
598 B
Nix

{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "elvish-${version}";
version = "0.10";
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;
};
}