git.iko.soy/typeable/nixpkgs
on master help sign in
hiera-eyaml: init at 2.1.0
commit68689f4d8e1623578ae6ec4283c8914df2985b05 authorBenjamin Staffin <benley@gmail.com> dateWed 15 Jun 2016, 17:59 (10 years ago) parenta689df2
5 files changed+76
pkgs/tools/system/hiera-eyaml/Gemfile+3 pkgs/tools/system/hiera-eyaml/Gemfile.lock+17 pkgs/tools/system/hiera-eyaml/default.nix+28 pkgs/tools/system/hiera-eyaml/gemset.nix+26 pkgs/top-level/all-packages.nix+2
pkgs/tools/system/hiera-eyaml/Gemfilenew file+3
@@ -0,0 +1,3 @@
1+source 'https://rubygems.org'
2+
3+gem 'hiera-eyaml', '2.1.0'
pkgs/tools/system/hiera-eyaml/Gemfile.locknew file+17
@@ -0,0 +1,17 @@
1+GEM
2+ remote: https://rubygems.org/
3+ specs:
4+ hiera-eyaml (2.1.0)
5+ highline (~> 1.6.19)
6+ trollop (~> 2.0)
7+ highline (1.6.21)
8+ trollop (2.1.2)
9+
10+PLATFORMS
11+ ruby
12+
13+DEPENDENCIES
14+ hiera-eyaml (= 2.1.0)
15+
16+BUNDLED WITH
17+ 1.11.2
pkgs/tools/system/hiera-eyaml/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ lib, bundlerEnv, stdenv }:
2+
3+let
4+ name = "hiera-eyaml-${env.gems.hiera-eyaml.version}";
5+
6+ env = bundlerEnv {
7+ inherit name;
8+ gemfile = ./Gemfile;
9+ lockfile = ./Gemfile.lock;
10+ gemset = ./gemset.nix;
11+ };
12+
13+in stdenv.mkDerivation {
14+ inherit name;
15+
16+ buildCommand = ''
17+ mkdir -p $out/bin
18+ ln -s ${env}/bin/eyaml $out/bin/eyaml
19+ '';
20+
21+ meta = with lib; {
22+ description = "Per-value asymmetric encryption of sensitive data for Hiera";
23+ homepage = https://github.com/TomPoulton/hiera-eyaml;
24+ license = licenses.mit;
25+ maintainers = [ maintainers.benley ];
26+ platforms = platforms.unix;
27+ };
28+}
pkgs/tools/system/hiera-eyaml/gemset.nixnew file+26
@@ -0,0 +1,26 @@
1+{
2+ hiera-eyaml = {
3+ source = {
4+ remotes = ["https://rubygems.org"];
5+ sha256 = "1h25pfv89macjf3sjdrx7slhlq1af4zybai42ci3gj02b6hli4a6";
6+ type = "gem";
7+ };
8+ version = "2.1.0";
9+ };
10+ highline = {
11+ source = {
12+ remotes = ["https://rubygems.org"];
13+ sha256 = "06bml1fjsnrhd956wqq5k3w8cyd09rv1vixdpa3zzkl6xs72jdn1";
14+ type = "gem";
15+ };
16+ version = "1.6.21";
17+ };
18+ trollop = {
19+ source = {
20+ remotes = ["https://rubygems.org"];
21+ sha256 = "0415y63df86sqj43c0l82and65ia5h64if7n0znkbrmi6y0jwhl8";
22+ type = "gem";
23+ };
24+ version = "2.1.2";
25+ };
26+}
pkgs/top-level/all-packages.nix+2
@@ -1933,6 +1933,8 @@ in
19331933
19341934 hevea = callPackage ../tools/typesetting/hevea { };
19351935
1936+ hiera-eyaml = callPackage ../tools/system/hiera-eyaml { };
1937+
19361938 hfsprogs = callPackage ../tools/filesystems/hfsprogs { };
19371939
19381940 highlight = callPackage ../tools/text/highlight {