1 { stdenv, lib, bundlerEnv, ruby, bundlerUpdateScript }:
5 name = "maphosts-gems";
9 in stdenv.mkDerivation {
11 version = env.gems.maphosts.version;
17 ln -s "${env}/bin/maphosts" "$out/bin/maphosts"
20 passthru.updateScript = bundlerUpdateScript "maphosts";
23 description = "Small command line application for keeping your project hostnames in sync with /etc/hosts";
24 homepage = "https://github.com/mpscholten/maphosts";
25 changelog = "https://github.com/mpscholten/maphosts/releases/tag/v${version}";
26 license = licenses.mit;
27 maintainers = with maintainers; [ mpscholten nicknovitski ];
28 platforms = platforms.all;
29 mainProgram = "maphosts";