Created
May 3, 2016 12:56
-
-
Save plumps/2339ad3d7952c242f87c1704af31e845 to your computer and use it in GitHub Desktop.
just part of a bundleEnv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mongo = attrs: rec { | |
buildInputs = [ zlib python27Packages.python python27Packages.pymongo mongodb ]; | |
_check = "${ruby_2_0.gemPath}/gems/sensu-plugins-mongodb-${(import ./gemset.nix).sensu-plugins-mongodb.version}/bin/check-mongodb.py"; | |
postInstall = '' | |
# the ruby check runs a python script | |
patchShebangs $out/${_check} | |
''; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment