nixpkgs-suyu/pkgs/tools/system/hiera-eyaml/default.nix

29 lines
621 B
Nix
Raw Normal View History

2016-06-15 23:59:01 +02:00
{ lib, bundlerEnv, stdenv }:
let
name = "hiera-eyaml-${env.gems.hiera-eyaml.version}";
env = bundlerEnv {
inherit name;
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
};
in stdenv.mkDerivation {
inherit name;
buildCommand = ''
mkdir -p $out/bin
ln -s ${env}/bin/eyaml $out/bin/eyaml
'';
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;
};
}