git.iko.soy/typeable/nixpkgs
on master help sign in
Adding Corundum as demo of rubyTool
commitdd86c6d25a0d06ea9234850fce7dafff34c987ec authorJudson <nyarly@gmail.com> dateSat 10 Jun 2017, 17:11 (9 years ago) parent53481f8
7 files changed+229
lib/maintainers.nix+1 pkgs/development/ruby-modules/tool/default.nix+1 pkgs/development/tools/corundum/Gemfile+3 pkgs/development/tools/corundum/Gemfile.lock+56 pkgs/development/tools/corundum/default.nix+13 pkgs/development/tools/corundum/gemset.nix+154 pkgs/top-level/all-packages.nix+1
lib/maintainers.nix+1
@@ -372,6 +372,7 @@
372372 np = "Nicolas Pouillard <np.nix@nicolaspouillard.fr>";
373373 nslqqq = "Nikita Mikhailov <nslqqq@gmail.com>";
374374 nthorne = "Niklas Thörne <notrupertthorne@gmail.com>";
375+ nyarly = "Judson Lester <nyarly@gmail.com>";
375376 obadz = "obadz <obadz-nixos@obadz.com>";
376377 ocharles = "Oliver Charles <ollie@ocharles.org.uk>";
377378 odi = "Oliver Dunkl <oliver.dunkl@gmail.com>";
pkgs/development/ruby-modules/tool/default.nix+1
@@ -13,6 +13,7 @@
1313, gemset ? null
1414, preferLocalBuild ? false
1515, allowSubstitutes ? false
16+, meta ? {}
1617, postBuild
1718}@args:
1819
pkgs/development/tools/corundum/Gemfilenew file+3
@@ -0,0 +1,3 @@
1+source "https://rubygems.org"
2+
3+gem "corundum", "=0.6.2"
pkgs/development/tools/corundum/Gemfile.locknew file+56
@@ -0,0 +1,56 @@
1+GEM
2+ remote: https://rubygems.org/
3+ specs:
4+ calibrate (0.0.1)
5+ caliph (0.3.1)
6+ corundum (0.6.2)
7+ bundler (~> 1.10)
8+ caliph (~> 0.3)
9+ mattock (~> 0.9)
10+ paint (~> 0.8)
11+ rspec (>= 2.0, < 4)
12+ simplecov (>= 0.5)
13+ simplecov-json (~> 0.2)
14+ diff-lcs (1.3)
15+ docile (1.1.5)
16+ json (2.1.0)
17+ mattock (0.10.1)
18+ calibrate (~> 0.0.1)
19+ caliph (~> 0.3)
20+ rake (~> 10.0)
21+ tilt (> 0)
22+ valise (~> 1.1)
23+ paint (0.9.0)
24+ rake (10.5.0)
25+ rspec (3.6.0)
26+ rspec-core (~> 3.6.0)
27+ rspec-expectations (~> 3.6.0)
28+ rspec-mocks (~> 3.6.0)
29+ rspec-core (3.6.0)
30+ rspec-support (~> 3.6.0)
31+ rspec-expectations (3.6.0)
32+ diff-lcs (>= 1.2.0, < 2.0)
33+ rspec-support (~> 3.6.0)
34+ rspec-mocks (3.6.0)
35+ diff-lcs (>= 1.2.0, < 2.0)
36+ rspec-support (~> 3.6.0)
37+ rspec-support (3.6.0)
38+ simplecov (0.14.1)
39+ docile (~> 1.1.0)
40+ json (>= 1.8, < 3)
41+ simplecov-html (~> 0.10.0)
42+ simplecov-html (0.10.1)
43+ simplecov-json (0.2)
44+ json
45+ simplecov
46+ tilt (2.0.7)
47+ valise (1.2.1)
48+
49+PLATFORMS
50+ ruby
51+
52+DEPENDENCIES
53+ corundum (= 0.6.2)
54+
55+BUNDLED WITH
56+ 1.14.4
pkgs/development/tools/corundum/default.nixnew file+13
@@ -0,0 +1,13 @@
1+{ rubyTool }:
2+
3+rubyTool {
4+ name = "corundum-0.6.2";
5+ gemdir = ./.;
6+ meta = {
7+ description = "Tool and libraries for maintaining Ruby gems.";
8+ homepage = http://sass-lang.com/;
9+ license = licenses.mit;
10+ maintainers = [ maintainers.nyarly ];
11+ platforms = platforms.unix;
12+ };
13+}
pkgs/development/tools/corundum/gemset.nixnew file+154
@@ -0,0 +1,154 @@
1+{
2+ calibrate = {
3+ source = {
4+ remotes = ["https://rubygems.org"];
5+ sha256 = "17kmlss7db70pjwdbbhag7mnixh8wasdq6n1v8663x50z9c7n2ng";
6+ type = "gem";
7+ };
8+ version = "0.0.1";
9+ };
10+ caliph = {
11+ source = {
12+ remotes = ["https://rubygems.org"];
13+ sha256 = "08d07n4m4yh1h9icq6n9dkw4jwgdmgd638f15mxr2pvqp4wycsnr";
14+ type = "gem";
15+ };
16+ version = "0.3.1";
17+ };
18+ corundum = {
19+ source = {
20+ remotes = ["https://rubygems.org"];
21+ sha256 = "1y6shjrqaqyh14a1r4ic660g6jnq4abdrx9imglyalzyrlrwbsxq";
22+ type = "gem";
23+ };
24+ version = "0.6.2";
25+ };
26+ diff-lcs = {
27+ source = {
28+ remotes = ["https://rubygems.org"];
29+ sha256 = "18w22bjz424gzafv6nzv98h0aqkwz3d9xhm7cbr1wfbyas8zayza";
30+ type = "gem";
31+ };
32+ version = "1.3";
33+ };
34+ docile = {
35+ source = {
36+ remotes = ["https://rubygems.org"];
37+ sha256 = "0m8j31whq7bm5ljgmsrlfkiqvacrw6iz9wq10r3gwrv5785y8gjx";
38+ type = "gem";
39+ };
40+ version = "1.1.5";
41+ };
42+ json = {
43+ source = {
44+ remotes = ["https://rubygems.org"];
45+ sha256 = "01v6jjpvh3gnq6sgllpfqahlgxzj50ailwhj9b3cd20hi2dx0vxp";
46+ type = "gem";
47+ };
48+ version = "2.1.0";
49+ };
50+ mattock = {
51+ source = {
52+ remotes = ["https://rubygems.org"];
53+ sha256 = "02d6igwr4sfj4jnky8d5h0rm2cc665k1bqz7sj4khzvr18nk3ai6";
54+ type = "gem";
55+ };
56+ version = "0.10.1";
57+ };
58+ paint = {
59+ source = {
60+ remotes = ["https://rubygems.org"];
61+ sha256 = "1fcn7cfrhbl4nl95fmcd67q33h7bl3iafsafs6w9yj4nqzagz1yc";
62+ type = "gem";
63+ };
64+ version = "0.9.0";
65+ };
66+ rake = {
67+ source = {
68+ remotes = ["https://rubygems.org"];
69+ sha256 = "0jcabbgnjc788chx31sihc5pgbqnlc1c75wakmqlbjdm8jns2m9b";
70+ type = "gem";
71+ };
72+ version = "10.5.0";
73+ };
74+ rspec = {
75+ source = {
76+ remotes = ["https://rubygems.org"];
77+ sha256 = "1nd50hycab2a2vdah9lxi585g8f63jxjvmzmxqyln51grxwx9hzb";
78+ type = "gem";
79+ };
80+ version = "3.6.0";
81+ };
82+ rspec-core = {
83+ source = {
84+ remotes = ["https://rubygems.org"];
85+ sha256 = "18np8wyw2g79waclpaacba6nd7x60ixg07ncya0j0qj1z9b37grd";
86+ type = "gem";
87+ };
88+ version = "3.6.0";
89+ };
90+ rspec-expectations = {
91+ source = {
92+ remotes = ["https://rubygems.org"];
93+ sha256 = "028ifzf9mqp3kxx40q1nbwj40g72g9zk0wr78l146phblkv96w0a";
94+ type = "gem";
95+ };
96+ version = "3.6.0";
97+ };
98+ rspec-mocks = {
99+ source = {
100+ remotes = ["https://rubygems.org"];
101+ sha256 = "0nv6jkxy24sag1i9w9wi3850k6skk2fm6yhcrgnmlz6vmwxvizp8";
102+ type = "gem";
103+ };
104+ version = "3.6.0";
105+ };
106+ rspec-support = {
107+ source = {
108+ remotes = ["https://rubygems.org"];
109+ sha256 = "050paqqpsml8w88nf4a15zbbj3vvm471zpv73sjfdnz7w21wnypb";
110+ type = "gem";
111+ };
112+ version = "3.6.0";
113+ };
114+ simplecov = {
115+ source = {
116+ remotes = ["https://rubygems.org"];
117+ sha256 = "1r9fnsnsqj432cmrpafryn8nif3x0qg9mdnvrcf0wr01prkdlnww";
118+ type = "gem";
119+ };
120+ version = "0.14.1";
121+ };
122+ simplecov-html = {
123+ source = {
124+ remotes = ["https://rubygems.org"];
125+ sha256 = "0f3psphismgp6jp1fxxz09zbswh7m2xxxr6gqlzdh7sgv415clvm";
126+ type = "gem";
127+ };
128+ version = "0.10.1";
129+ };
130+ simplecov-json = {
131+ source = {
132+ remotes = ["https://rubygems.org"];
133+ sha256 = "0x9hr08pkj5d14nfzsn5h8b7ayl6q0xir45dcx5rv2a7g10kzlpp";
134+ type = "gem";
135+ };
136+ version = "0.2";
137+ };
138+ tilt = {
139+ source = {
140+ remotes = ["https://rubygems.org"];
141+ sha256 = "1is1ayw5049z8pd7slsk870bddyy5g2imp4z78lnvl8qsl8l0s7b";
142+ type = "gem";
143+ };
144+ version = "2.0.7";
145+ };
146+ valise = {
147+ source = {
148+ remotes = ["https://rubygems.org"];
149+ sha256 = "1arsbmk2gifrhv244qrld7s3202xrnxy6vlc5gqklg70dpsinbn5";
150+ type = "gem";
151+ };
152+ version = "1.2.1";
153+ };
154+}
pkgs/top-level/all-packages.nix+1
@@ -6161,6 +6161,7 @@ with pkgs;
61616161 bundix = callPackage ../development/ruby-modules/bundix { };
61626162 bundler = callPackage ../development/ruby-modules/bundler { };
61636163 bundlerEnv = callPackage ../development/ruby-modules/bundler-env { };
6164+ rubyTool = callPackage ../development/ruby-modules/tool { };
61646165
61656166 inherit (callPackage ../development/interpreters/ruby {})
61666167 ruby_2_0_0