1 { stdenv, lib, fetchFromGitHub, chruby }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "15q0ywsn9pcypbpvlq0wb41x4igxm9bsvhg9a05dqw1n437qjhyb";
15 sed -i -e '1iset CHRUBY_ROOT ${chruby}' $out/share/chruby/auto.fish
16 sed -i -e '1iset CHRUBY_ROOT ${chruby}' $out/share/chruby/chruby.fish
19 installFlags = [ "PREFIX=$(out)" ];
22 description = "Thin wrapper around chruby to make it work with the Fish shell";
23 homepage = "https://github.com/JeanMertz/chruby-fish";
24 license = lib.licenses.mit;
25 platforms = lib.platforms.all;
26 maintainers = [ lib.maintainers.cohei ];