git.iko.soy/typeable/nixpkgs
on master help sign in
r10k: init at 2.4.3
commite3f4ea02c952ead5b80189f0928916e2badaa26d authorNicolas Mattia <nicolas@nmattia.com> dateFri 30 Sep 2016, 18:28 (10 years ago) parentd454f9c
5 files changed+220
pkgs/tools/system/r10k/Gemfile+5 pkgs/tools/system/r10k/Gemfile.lock+49 pkgs/tools/system/r10k/default.nix+34 pkgs/tools/system/r10k/gemset.nix+130 pkgs/top-level/all-packages.nix+2
pkgs/tools/system/r10k/Gemfilenew file+5
@@ -0,0 +1,5 @@
1+# frozen_string_literal: true
2+# A sample Gemfile
3+source "https://rubygems.org"
4+
5+gem "r10k"
pkgs/tools/system/r10k/Gemfile.locknew file+49
@@ -0,0 +1,49 @@
1+GEM
2+ remote: https://rubygems.org/
3+ specs:
4+ colored (1.2)
5+ cri (2.6.1)
6+ colored (~> 1.2)
7+ faraday (0.9.2)
8+ multipart-post (>= 1.2, < 3)
9+ faraday_middleware (0.10.0)
10+ faraday (>= 0.7.4, < 0.10)
11+ fast_gettext (1.1.0)
12+ gettext (3.2.2)
13+ locale (>= 2.0.5)
14+ text (>= 1.3.0)
15+ gettext-setup (0.7)
16+ fast_gettext (~> 1.1.0)
17+ gettext (>= 3.0.2)
18+ locale (2.1.2)
19+ log4r (1.1.10)
20+ minitar (0.5.4)
21+ multi_json (1.12.1)
22+ multipart-post (2.0.0)
23+ puppet_forge (2.2.2)
24+ faraday (~> 0.9.0)
25+ faraday_middleware (>= 0.9.0, < 0.11.0)
26+ gettext-setup (>= 0.3)
27+ minitar
28+ semantic_puppet (~> 0.1.0)
29+ r10k (2.4.3)
30+ colored (= 1.2)
31+ cri (~> 2.6.1)
32+ gettext-setup (~> 0.5)
33+ log4r (= 1.1.10)
34+ minitar
35+ multi_json (~> 1.10)
36+ puppet_forge (~> 2.2)
37+ semantic_puppet (~> 0.1.0)
38+ semantic_puppet (0.1.4)
39+ gettext-setup (>= 0.3)
40+ text (1.3.1)
41+
42+PLATFORMS
43+ ruby
44+
45+DEPENDENCIES
46+ r10k
47+
48+BUNDLED WITH
49+ 1.12.5
pkgs/tools/system/r10k/default.nixnew file+34
@@ -0,0 +1,34 @@
1+{ stdenv, lib, bundlerEnv, makeWrapper, docker, git, gnutar, gzip, ruby }:
2+
3+stdenv.mkDerivation rec {
4+ name = "r10k-${version}";
5+
6+ version = "2.4.3";
7+
8+ env = bundlerEnv {
9+ name = "${name}-gems";
10+
11+ gemfile = ./Gemfile;
12+ lockfile = ./Gemfile.lock;
13+ gemset = ./gemset.nix;
14+ inherit ruby;
15+ };
16+
17+ phases = ["installPhase"];
18+
19+ buildInputs = [ makeWrapper ];
20+
21+ installPhase = ''
22+ mkdir -p $out/bin
23+ makeWrapper ${env}/bin/r10k $out/bin/r10k \
24+ --set PATH ${stdenv.lib.makeBinPath [ docker git gnutar gzip ]}
25+ '';
26+
27+ meta = with lib; {
28+ description = "Puppet environment and module deployment";
29+ homepage = https://github.com/puppetlabs/r10k;
30+ license = licenses.asl20;
31+ maintainers = with maintainers; [ zimbatm ];
32+ platforms = docker.meta.platforms;
33+ };
34+}
pkgs/tools/system/r10k/gemset.nixnew file+130
@@ -0,0 +1,130 @@
1+{
2+ colored = {
3+ source = {
4+ remotes = ["https://rubygems.org"];
5+ sha256 = "0b0x5jmsyi0z69bm6sij1k89z7h0laag3cb4mdn7zkl9qmxb90lx";
6+ type = "gem";
7+ };
8+ version = "1.2";
9+ };
10+ cri = {
11+ source = {
12+ remotes = ["https://rubygems.org"];
13+ sha256 = "0zzwvwzrrlmx6c5j7bqc63ib952h37i357xn97m3h8bjd7zyv79l";
14+ type = "gem";
15+ };
16+ version = "2.6.1";
17+ };
18+ faraday = {
19+ source = {
20+ remotes = ["https://rubygems.org"];
21+ sha256 = "1kplqkpn2s2yl3lxdf6h7sfldqvkbkpxwwxhyk7mdhjplb5faqh6";
22+ type = "gem";
23+ };
24+ version = "0.9.2";
25+ };
26+ faraday_middleware = {
27+ source = {
28+ remotes = ["https://rubygems.org"];
29+ sha256 = "0nxia26xzy8i56qfyz1bg8dg9yb26swpgci8n5jry8mh4bnx5r5h";
30+ type = "gem";
31+ };
32+ version = "0.10.0";
33+ };
34+ fast_gettext = {
35+ source = {
36+ remotes = ["https://rubygems.org"];
37+ sha256 = "0mxahyywhml3c206am11h6d93rk358l2vl0j764i8ndzir5z5h75";
38+ type = "gem";
39+ };
40+ version = "1.1.0";
41+ };
42+ gettext = {
43+ source = {
44+ remotes = ["https://rubygems.org"];
45+ sha256 = "1d2i1zfqvaxqi01g9vvkfkf5r85c5nfj2zwpd2ib9vvkjavhn9cx";
46+ type = "gem";
47+ };
48+ version = "3.2.2";
49+ };
50+ gettext-setup = {
51+ source = {
52+ remotes = ["https://rubygems.org"];
53+ sha256 = "116frghrvcpzqhgi6skpmr56lzk35z44sbjkjn3lnlpr33sav03l";
54+ type = "gem";
55+ };
56+ version = "0.7";
57+ };
58+ locale = {
59+ source = {
60+ remotes = ["https://rubygems.org"];
61+ sha256 = "1sls9bq4krx0fmnzmlbn64dw23c4d6pz46ynjzrn9k8zyassdd0x";
62+ type = "gem";
63+ };
64+ version = "2.1.2";
65+ };
66+ log4r = {
67+ source = {
68+ remotes = ["https://rubygems.org"];
69+ sha256 = "0ri90q0frfmigkirqv5ihyrj59xm8pq5zcmf156cbdv4r4l2jicv";
70+ type = "gem";
71+ };
72+ version = "1.1.10";
73+ };
74+ minitar = {
75+ source = {
76+ remotes = ["https://rubygems.org"];
77+ sha256 = "1vpdjfmdq1yc4i620frfp9af02ia435dnpj8ybsd7dc3rypkvbka";
78+ type = "gem";
79+ };
80+ version = "0.5.4";
81+ };
82+ multi_json = {
83+ source = {
84+ remotes = ["https://rubygems.org"];
85+ sha256 = "1wpc23ls6v2xbk3l1qncsbz16npvmw8p0b38l8czdzri18mp51xk";
86+ type = "gem";
87+ };
88+ version = "1.12.1";
89+ };
90+ multipart-post = {
91+ source = {
92+ remotes = ["https://rubygems.org"];
93+ sha256 = "09k0b3cybqilk1gwrwwain95rdypixb2q9w65gd44gfzsd84xi1x";
94+ type = "gem";
95+ };
96+ version = "2.0.0";
97+ };
98+ puppet_forge = {
99+ source = {
100+ remotes = ["https://rubygems.org"];
101+ sha256 = "1m2npid04dvli2r9h5cm2ccjmq0275xn4swi3x8wx5yzrixw98wv";
102+ type = "gem";
103+ };
104+ version = "2.2.2";
105+ };
106+ r10k = {
107+ source = {
108+ remotes = ["https://rubygems.org"];
109+ sha256 = "0cqwci30r2566xcf8wz7dgamj6i4q9cblgkgmmdm9w2klqzx30j7";
110+ type = "gem";
111+ };
112+ version = "2.4.3";
113+ };
114+ semantic_puppet = {
115+ source = {
116+ remotes = ["https://rubygems.org"];
117+ sha256 = "1zs19rsyv3f2zwhqi8cqbs87a6fzyl30aw2zqcxb8iz5m7xkd4kc";
118+ type = "gem";
119+ };
120+ version = "0.1.4";
121+ };
122+ text = {
123+ source = {
124+ remotes = ["https://rubygems.org"];
125+ sha256 = "1x6kkmsr49y3rnrin91rv8mpc3dhrf3ql08kbccw8yffq61brfrg";
126+ type = "gem";
127+ };
128+ version = "1.3.1";
129+ };
130+}
pkgs/top-level/all-packages.nix+2
@@ -6188,6 +6188,8 @@ in
61886188 withDocumentation = false; # 'true' is currently broken with qt>=5.5
61896189 };
61906190
6191+ r10k = callPackage ../tools/system/r10k { };
6192+
61916193 radare = callPackage ../development/tools/analysis/radare {
61926194 inherit (gnome2) vte;
61936195 lua = lua5;