bundlerUpdateScript: init and use (#64822)

This commit is contained in:
Nick Novitski
2019-07-22 12:02:47 +00:00
committed by zimbatm
parent b24841dd22
commit 7136e0d0a6
79 changed files with 310 additions and 249 deletions
+4 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, lib, bundlerEnv, ruby }:
{ stdenv, lib, bundlerEnv, ruby, bundlerUpdateScript }:
stdenv.mkDerivation rec {
name = "maphosts-${env.gems.maphosts.version}";
@@ -16,11 +16,13 @@ stdenv.mkDerivation rec {
ln -s "${env}/bin/maphosts" "$out/bin/maphosts"
'';
passthru.updateScript = bundlerUpdateScript "maphosts";
meta = with lib; {
description = "Small command line application for keeping your project hostnames in sync with /etc/hosts";
homepage = https://github.com/mpscholten/maphosts;
license = licenses.mit;
maintainers = with maintainers; [ mpscholten ];
maintainers = with maintainers; [ mpscholten nicknovitski ];
platforms = platforms.all;
};
}