1 { stdenv, lib, bundlerEnv, ruby, bundlerUpdateScript }:
5 name = "maphosts-gems";
9 in stdenv.mkDerivation {
10 name = "maphosts-${env.gems.maphosts.version}";
12 phases = ["installPhase"];
16 ln -s "${env}/bin/maphosts" "$out/bin/maphosts"
19 passthru.updateScript = bundlerUpdateScript "maphosts";
22 description = "Small command line application for keeping your project hostnames in sync with /etc/hosts";
23 homepage = "https://github.com/mpscholten/maphosts";
24 license = licenses.mit;
25 maintainers = with maintainers; [ mpscholten nicknovitski ];
26 platforms = platforms.all;