Created
June 15, 2016 21:52
-
-
Save benley/204ae36baf2a9ce4ef400657c3f55cd0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ lib, bundlerEnv, stdenv }: | |
let | |
name = "hiera-eyaml-2.1.0"; | |
env = bundlerEnv { | |
inherit name; | |
gemfile = ./Gemfile; | |
lockfile = ./Gemfile.lock; | |
gemset = ./gemset.nix; | |
meta = with lib; { | |
description = "per-value asymmetric encryption of sensitive data for Hiera"; | |
homepage = https://github.com/TomPoulton/hiera-eyaml; | |
license = licenses.mit; | |
maintainers = [ maintainers.benley ]; | |
platforms = platforms.unix; | |
}; | |
}; | |
in stdenv.mkDerivation { | |
inherit name; | |
buildCommand = '' | |
mkdir -p $out/bin | |
ln -s ${env}/bin/eyaml $out/bin/eyaml | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment