aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/ruby.scm
blob: 4b6ea3e86f47cf87c4a1fc06b22eb539a29ce8da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gn packages ruby)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages)
  #:use-module (gnu packages compression)
  #:use-module (gnu packages databases)
  #:use-module (gnu packages readline)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages java)
  #:use-module (gnu packages libffi)
  #:use-module (gnu packages python)
  #:use-module (gnu packages ragel)
  #:use-module (gnu packages rails)
  #:use-module (gnu packages ruby)
  #:use-module (gnu packages tls)
  #:use-module (gnu packages version-control)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix utils)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages xml)
  #:use-module (gnu packages web)
  #:use-module (guix build-system ruby))


(define-public apache-maven
  (package
    (name "apache-maven")
    (version "3.3.9")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "http://ftp.tudelft.nl/apache/maven/maven-3/3.3.9/source/apache-maven-" version "-src.tar.gz"))
              (sha256               (base32
                "1g0iavyb34kvs3jfrx2hfnr8lr11m39sj852cy7528wva1glfl4i"))))
    (build-system gnu-build-system)
    (home-page "http://ant.apache.org")
    (synopsis "Build tool for Java")
    (description
     "Ant is a platform-independent build tool for Java.  It is similar to
make but is implemented using the Java language, requires the Java platform,
and is best suited to building Java projects.  Ant uses XML to describe the
build process and its dependencies, whereas Make uses Makefile format.")
    (license license:asl2.0)))


(define-public jruby
  (package
    (name "jruby")
    (version "9.0.5.0")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "https://s3.amazonaws.com/jruby.org/downloads/9.0.5.0/jruby-bin-"
                           version ".tar.gz"))
       (sha256
        (base32
         "1wysymqzc7591743f2ycgwpm232y6i050izn72lck44nhnyr5wwy"))
        ))
    (build-system gnu-build-system)
    (native-inputs
     `(("ant" ,ant)
       ;; ("maven" ,maven)
       ("jdk" ,icedtea "jdk")))
    (inputs
     `(("readline" ,readline)
       ("openssl" ,openssl)
       ("zlib" ,zlib)))
    (native-search-paths
     (list (search-path-specification
            (variable "GEM_PATH")
            (files (list (string-append "lib/ruby/gems/"
                                        (version-major+minor version)
                                        ".0"))))))
    (synopsis "Programming language interpreter")
    (description "Ruby is a dynamic object-oriented programming language with
a focus on simplicity and productivity.")
    (home-page "https://ruby-lang.org")
    (license license:ruby)))

(define-public bio-table ; guix ready with tests
  (package
   (name "bio-table")
   (version "1.0.0")
   (source
    (origin
     (method url-fetch)
     (uri (rubygems-uri "bio-table" version))
     (sha256
      (base32
       "1jlpls734kd41rffn2y2747nr14k5rwgaj2g3k48i9xgsfcmrn6r"))))
   (build-system ruby-build-system)
   (arguments
    `(#:tests? #f ; There are no tests.
   ))
   (propagated-inputs
    `(("ruby-bio-logger" ,ruby-bio-logger)))
   (synopsis
    "Functions and tools for tranforming and changing tab delimited
and comma separated table files - useful for Excel sheets and SQL/RDF
output")
   (description
    "Functions and tools for tranforming and changing tab delimited
and comma separated table files - useful for Excel sheets and SQL/RDF
output")
   (home-page
    "http://github.com/pjotrp/bioruby-table")
   (license expat)))

(define-public ruby-ntlm-http
  (package
    (name "ruby-ntlm-http")
    (version "0.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (rubygems-uri "ntlm-http" version))
       (sha256
        (base32
         "0yx01ffrw87wya1syivqzf8hz02axk7jdpw6aw221xwvib767d36"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))
    (synopsis
     "Ruby/NTLM HTTP provides NTLM authentication over http.")
    (description
     "Ruby/NTLM HTTP provides NTLM authentication over http.")
    (home-page "http://www.mindflowsolutions.net")
    (license #f)))

(define-public ruby-webrobots
  (package
    (name "ruby-webrobots")
    (version "0.1.2")
    (source
     (origin
       (method url-fetch)
       (uri (rubygems-uri "webrobots" version))
       (sha256
        (base32
         "19ndcbba8s8m62hhxxfwn83nax34rg2k5x066awa23wknhnamg7b"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))
    (synopsis
     "This library helps write robots.txt compliant web robots in Ruby.
")
    (description
     "This library helps write robots.txt compliant web robots in Ruby.
")
    (home-page "https://github.com/knu/webrobots")
    (license #f)))

(define-public ruby-mechanize ; guix maybe ready
  (package
    (name "ruby-mechanize")
    (version "2.7.5")
    (source
     (origin
       (method url-fetch)
       (uri (rubygems-uri "mechanize" version))
       (sha256
        (base32
         "1f861x62kmggy60krv229s5jl7afq9nblwcfih3kp9bm5c5jn16y"))))
    (build-system ruby-build-system)
    (arguments '(#:tests? #f)) ; one test fails
    (inputs
     `(("ruby" ,ruby)))
    (propagated-inputs
     `(("ruby-domain-name" ,ruby-domain-name)
       ("ruby-http-cookie" ,ruby-http-cookie)
       ("ruby-mime-types" ,ruby-mime-types)
       ("ruby-net-http-digest-auth"
        ,ruby-net-http-digest-auth)
       ("ruby-net-http-persistent"
        ,ruby-net-http-persistent)
       ("ruby-nokogiri" ,ruby-nokogiri)
       ("ruby-ntlm-http" ,ruby-ntlm-http)
       ("ruby-webrobots" ,ruby-webrobots)))
    (synopsis
     "The Mechanize library is used for automating interaction with websites.
Mechanize automatically stores and sends cookies, follows redirects,
and can follow links and submit forms.  Form fields can be populated and
submitted.  Mechanize also keeps track of the sites that you have visited as
a history.")
    (description
     "The Mechanize library is used for automating interaction with websites.
Mechanize automatically stores and sends cookies, follows redirects,
and can follow links and submit forms.  Form fields can be populated and
submitted.  Mechanize also keeps track of the sites that you have visited as
a history.")
  (home-page
   "http://docs.seattlerb.org/mechanize/")
  (license expat)))

(define-public ruby-faraday
(package
  (name "ruby-faraday")
  (version "0.14.0")
  (source
    (origin
      (method url-fetch)
      (uri (rubygems-uri "faraday" version))
      (sha256
        (base32
          "1c3x3s8vb5nf7inyfvhdxwa4q3swmnacpxby6pish5fgmhws7zrr"))))
  (build-system ruby-build-system)
  (propagated-inputs
    `(("ruby-multipart-post" ,ruby-multipart-post)))
  (arguments
   `(#:tests? #f)) ;; no bundler/cucumber
  (synopsis "HTTP/REST API client library.")
  (description "HTTP/REST API client library.")
  (home-page
    "https://github.com/lostisland/faraday")
  (license license:expat)))

(define-public ruby-elasticsearch-transport
(package
  (name "ruby-elasticsearch-transport")
  (version "6.0.2")
  (source
    (origin
      (method url-fetch)
      (uri (rubygems-uri "elasticsearch-transport" version))
      (sha256
        (base32
          "0gpwbw70qisx681j1bw8xq6shg5kdxmcdzg6425af0b5881jg7iy"))))
  (build-system ruby-build-system)
  (propagated-inputs
    `(("ruby-faraday" ,ruby-faraday)
      ("ruby-multi-json" ,ruby-multi-json)))
  (arguments
   `(#:tests? #f)) ;; no bundler/cucumber
  (synopsis
    "Ruby client for Elasticsearch. See the `elasticsearch` gem for full integration.
")
  (description
    "Ruby client for Elasticsearch.  See the `elasticsearch` gem for full integration.
")
  (home-page
    "https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-transport")
  (license #f)))

(define-public ruby-elasticsearch-api
(package
  (name "ruby-elasticsearch-api")
  (version "6.0.2")
  (source
    (origin
      (method url-fetch)
      (uri (rubygems-uri "elasticsearch-api" version))
      (sha256
        (base32
          "1vkahknqn85vvwr1gzh8jf3pvdial0c0d524icg8x06vibqgzd5h"))))
  (build-system ruby-build-system)
  (propagated-inputs
    `(("ruby-multi-json" ,ruby-multi-json)))
  (arguments
   `(#:tests? #f)) ;; no bundler/cucumber
  (synopsis
    "Ruby API for Elasticsearch. See the `elasticsearch` gem for full integration.
")
  (description
    "Ruby API for Elasticsearch.  See the `elasticsearch` gem for full integration.
")
  (home-page
    "https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-api")
  (license #f)))

(define-public ruby-elasticsearch
  (package
   (name "ruby-elasticsearch")
   (version "6.0.2")
   (source
    (origin
     (method url-fetch)
     (uri (rubygems-uri "elasticsearch" version))
     (sha256
      (base32
       "0a08ynvxz5clfm2ndqpgjrv4aiga9m2y1ab34s3qkihdfdzdzhj8"))))
   (build-system ruby-build-system)
   (propagated-inputs
    `(("ruby-elasticsearch-api"
       ,ruby-elasticsearch-api)
      ("ruby-elasticsearch-transport"
       ,ruby-elasticsearch-transport)))
  (arguments
   `(#:tests? #f)) ;; no bundler/cucumber
   (synopsis
    "Ruby integrations for Elasticsearch (client, API, etc.)
")
   (description
    "Ruby integrations for Elasticsearch (client, API, etc.)
")
   (home-page
    "http://github.com/elasticsearch/elasticsearch-ruby")
   (license #f)))


(define-public ruby-redis
  (package
    (name "ruby-redis")
    (version "4.2.5")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "redis" version))
        (sha256
         (base32
          "15x2sr6h094rjbvg8pkq6m3lcd5abpyx93aifvfdz3wv6x55xa48"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; Tests require a running redis server.
    (synopsis "Ruby client for Redis' API")
    (description
     "This package provides a Ruby client that tries to match Redis' API
one-to-one, while still providing an idiomatic interface.")
    (home-page "https://github.com/redis/redis-rb")
    (license license:expat)))



;;;

(define-public discourse
  (package
    (name "discourse")
    (version "2.6.1")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/discourse/discourse")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
          "1j1sinbxrdvidvn52z0qg668p7zd2ir5qdm43n4zdncmps6s4bnd"))))
    (build-system ruby-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (delete 'replace-git-ls-files)
         (add-before 'build 'delete-gemfile-lock
           (lambda _
             (delete-file "Gemfile.lock")
             #t))
         (add-after 'unpack 'adjust-version-dependencies
           ;; This may not work, but it's worth a shot for now
           (lambda _
             (substitute* "Gemfile"
               (("6.0.3.3") "5.2.2.1")  ; different rails version
               (("active_model_serializers.*") "active_model_serializers'\n")
               ;; hide mini-racer for now, can't build libv8
               ((".*mini_racer.*") "")
               )
             #t))
         (replace 'build
           (lambda _
             (setenv "HOME" (getcwd))
             (invoke "bundle" "exec" "rake" "autospec")))
         )
       ))
    ;;TODO: What should be moved to native-inputs?
    (inputs
     `(
       ("ruby-actionmailer" ,ruby-actionmailer)
       ("ruby-actionview-precompiler" ,ruby-actionview-precompiler)
       ("ruby-active-model-serializers" ,ruby-active-model-serializers)
       ("ruby-activemodel" ,ruby-activemodel)
       ("ruby-activerecord" ,ruby-activerecord)
       ("ruby-aws-sdk-s3" ,ruby-aws-sdk-s3)
       ("ruby-aws-sdk-sns" ,ruby-aws-sdk-sns)
       ("ruby-bootsnap" ,ruby-bootsnap)
       ("ruby-cbor" ,ruby-cbor)
       ("ruby-certified" ,ruby-certified)
       ("ruby-cose" ,ruby-cose)
       ("ruby-css-parser" ,ruby-css-parser)
       ("ruby-diffy" ,ruby-diffy)
       ("ruby-discourse-ember-rails" ,ruby-discourse-ember-rails)
       ("ruby-discourse-ember-source" ,ruby-discourse-ember-source)
       ("ruby-discourse-fonts" ,ruby-discourse-fonts)
       ("ruby-discourse-image-optim" ,ruby-discourse-image-optim)
       ("ruby-email-reply-trimmer" ,ruby-email-reply-trimmer)
       ("ruby-excon" ,ruby-excon)
       ("ruby-fabrication" ,ruby-fabrication)
       ("ruby-fakeweb" ,ruby-fakeweb)
       ("ruby-fast-xs" ,ruby-fast-xs)
       ("ruby-fastimage" ,ruby-fastimage)
       ("ruby-highline" ,ruby-highline)
       ("ruby-http-accept-language" ,ruby-http-accept-language)
       ("ruby-listen" ,ruby-listen)
       ("ruby-message-bus" ,ruby-message-bus)
       ("ruby-mini-mime" ,ruby-mini-mime)
       ;("ruby-mini-racer" ,ruby-mini-racer)
       ("ruby-mini-scheduler" ,ruby-mini-scheduler)
       ("ruby-mini-sql" ,ruby-mini-sql)
       ("ruby-mini-suffix" ,ruby-mini-suffix)
       ("ruby-mocha" ,ruby-mocha)
       ("ruby-mock-redis" ,ruby-mock-redis)
       ("ruby-oj" ,ruby-oj)
       ("ruby-omniauth" ,ruby-omniauth)
       ("ruby-omniauth-facebook" ,ruby-omniauth-facebook)
       ("ruby-omniauth-github" ,ruby-omniauth-github)
       ("ruby-omniauth-google-oauth2" ,ruby-omniauth-google-oauth2)
       ("ruby-omniauth-twitter" ,ruby-omniauth-twitter)
       ("ruby-onebox" ,ruby-onebox)
       ("ruby-parallel-tests" ,ruby-parallel-tests)
       ("ruby-pg" ,ruby-pg)
       ("ruby-pry-byebug" ,ruby-pry-byebug)
       ("ruby-pry-rails" ,ruby-pry-rails)
       ("ruby-r2" ,ruby-r2)
       ("ruby-rack-protection" ,ruby-rack-protection)
       ("ruby-rails-multisite" ,ruby-rails-multisite)
       ("ruby-railties" ,ruby-railties)
       ("ruby-rake" ,ruby-rake)
       ("ruby-redis" ,ruby-redis)
       ("ruby-redis-namespace" ,ruby-redis-namespace)
       ("ruby-rinku" ,ruby-rinku)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rspec-html-matchers" ,ruby-rspec-html-matchers)
       ("ruby-rspec-rails" ,ruby-rspec-rails)
       ("ruby-rswag-specs" ,ruby-rswag-specs)
       ("ruby-rtlit" ,ruby-rtlit)
       ("ruby-rubocop-discourse" ,ruby-rubocop-discourse)
       ("ruby-ruby-prof" ,ruby-ruby-prof)
       ("ruby-seed-fu" ,ruby-seed-fu)
       ("ruby-shoulda-matchers" ,ruby-shoulda-matchers)
       ("ruby-sidekiq" ,ruby-sidekiq)
       ("ruby-simplecov" ,ruby-simplecov)
       ("ruby-sprockets-rails" ,ruby-sprockets-rails)
       ("ruby-test-prof" ,ruby-test-prof)
       ("ruby-uglifier" ,ruby-uglifier)
       ("ruby-unf" ,ruby-unf)
       ("ruby-webmock" ,ruby-webmock)
       ("ruby-xorcist" ,ruby-xorcist)
       ))
    (native-inputs
     `(
       ))
    (synopsis "Platform for community discussion")
    (description "Discourse is the 100% open source discussion platform built
for the next decade of the Internet.  Use it as a mailing list, discussion
forum, long-form chat room, and more!")
    (home-page "https://www.discourse.org/")
    (license license:gpl2)))

(define-public ruby-seed-fu
  (package
    (name "ruby-seed-fu")
    (version "2.3.9")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "seed-fu" version))
        (sha256
         (base32
          "0y7lzcshsq6i20qn1p8zczir4fivr6nbl1km91ns320vvh92v43d"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no tests
    (propagated-inputs
     `(("ruby-activerecord" ,ruby-activerecord)
       ("ruby-activesupport" ,ruby-activesupport)))
    (synopsis "Advanced seed data handling for Rails")
    (description
     "Seed Fu is an attempt to once and for all solve the problem of inserting
and maintaining seed data in a database.  It uses a variety of techniques
gathered from various places around the web and combines them to create what is
hopefully the most robust seed data system around.")
    (home-page "https://github.com/mbleigh/seed-fu")
    (license license:expat)))

(define-public ruby-mini-mime
  (package
    (name "ruby-mini-mime")
    (version "1.0.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "mini_mime" version))
        (sha256
         (base32
          "1axm0rxyx3ss93wbmfkm78a6x03l8y4qy60rhkkiq0aza0vwq3ha"))))
    (build-system ruby-build-system)
    (synopsis "Lightweight mime type lookup toy")
    (description "This package provides a lightweight mime type lookup toy.")
    (home-page "https://github.com/discourse/mini_mime")
    (license license:expat)))

;; TODO: deal with bundled libraries
(define-public ruby-mini-suffix
  (package
    (name "ruby-mini-suffix")
    (version "0.3.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "mini_suffix" version))
        (sha256
         (base32
          "1r6pwyv1vpyza0rn1pyxls4qdw5jd3vg4k5dp1iaqa57n6fiqrvi"))))
    (build-system ruby-build-system)
    (arguments
     `(#:test-target "spec"
       #:phases
       (modify-phases %standard-phases
         ;(add-after 'unpack 'remove-vendored-libraries
         ;  (lambda _
         ;   (delete-file-recursively "vendor") #t))
         (add-after 'install 'replace-vendored-libraries
           (lambda* (#:key inputs outputs #:allow-other-keys)
             (let* ((out (assoc-ref outputs "out"))
                    (vendor (string-append out "/lib/ruby/vendor_ruby/gems"
                                           "/mini_suffix-" ,version "/vendor/")))
               (for-each delete-file (find-files vendor))
               (symlink (string-append (assoc-ref inputs "libpsl")
                                       "/lib/libpsl.so")
                        (string-append vendor "libpsl.x86_64.so"))
               #t)))
         )
       #:tests? #f))    ; cannot load such file -- spec_helper
    (propagated-inputs
     `(("ruby-ffi" ,ruby-ffi)))
    (inputs
     `(("libpsl" ,libpsl)))
    (native-inputs
     `(("ruby-rake" ,ruby-rake)
       ("ruby-rspec" ,ruby-rspec)))
    (synopsis "FFI wrapper for libpsl")
    (description "This package provides an FFI wrapper for libpsl in Ruby.")
    (home-page "https://github.com/discourse/mini_suffix")
    (license license:expat)))

(define-public ruby-redis-namespace
  (package
    (name "ruby-redis-namespace")
    (version "1.8.1")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/resque/redis-namespace")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
          "0dk8kgx6ii3xfv39x7m62bmahp29gv7pz8c8105mxqyxnx9pl525"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; cannot load such file -- rspec
    (propagated-inputs
     `(("ruby-redis" ,ruby-redis)))
    (native-inputs
     `(
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rspec-its" ,ruby-rspec-its)
       ))
    (synopsis "Namespace calls to Redis")
    (description
     "This package provides a @code{Redis::Namespace} class which can be used to
namespace calls to Redis.  This is useful when using a single instance of Redis
with multiple, different applications.")
    (home-page "https://github.com/resque/redis-namespace")
    (license license:expat)))

(define-public ruby-jsonapi-renderer
  (package
    (name "ruby-jsonapi-renderer")
    (version "0.2.2")
    (source
      (origin
        ;; No rakefile included in gem
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/jsonapi-rb/jsonapi-renderer")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
          "11i4jbliidi7r04fg4g33hgn1yvfi1rjbsrc7m6gjj06zhflzn5s"))))
    (build-system ruby-build-system)
    (native-inputs
     `(("ruby-rspec" ,ruby-rspec)
       ("ruby-simplecov" ,ruby-simplecov)))
    (synopsis "Render JSON API documents")
    (description
     "This package provides a ruby gem for rendering JSON API documents.")
    (home-page "https://github.com/jsonapi-rb/jsonapi-renderer")
    (license license:expat)))

(define-public ruby-case-transform
  (let ((commit "b957f9c933efa3894589af0ee7313660ebb552d8")
        (revision "1"))
    (package
      (name "ruby-case-transform")
      (version (git-version "0.2" revision commit))
      (source
        (origin
          ;; No rakefile included in gem
          (method git-fetch)
          (uri (git-reference
                 (url "https://github.com/rails-api/case_transform")
                 (commit commit)))
          (file-name (git-file-name name version))
          (sha256
           (base32
            "0z6pn2c4ksnphy3rbjy2ml40lhl7dznxi19ny4nlk9m071cb0l93"))))
      (build-system ruby-build-system)
      (arguments
       `(#:phases
         (modify-phases %standard-phases
           (add-after 'unpack 'patch-source
             (lambda _
               (delete-file "Gemfile.lock")
               #t)))))
      (propagated-inputs
       `(("ruby-activesupport" ,ruby-activesupport)))
      (native-inputs
       `(("ruby-awesome-print" ,ruby-awesome-print)
         ("ruby-codeclimate-test-reporter" ,ruby-codeclimate-test-reporter)
         ("ruby-pry-byebug" ,ruby-pry-byebug)
         ("ruby-rubocop" ,ruby-rubocop)))
      (synopsis "@code{key_transform} abilities of ActiveModelSerializers")
      (description
       "This package provides the extraction of the @code{key_transform} abilities
of @code{ActiveModelSerializers}.")
      (home-page "https://github.com/rails-api/case_transform")
      (license license:expat))))

(define-public ruby-active-model-serializers
  (package
    (name "ruby-active-model-serializers")
    (version "0.10.12")
    (source
      (origin
        ;; No rakefile included in gem
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/rails-api/active_model_serializers")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
          "1d2lywfzj4h117b67cwl76a6zl7q1vmgajzn51w5ifvdpc5rssli"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; TODO: enable
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'adjust-dependency-version-contstriants
           (lambda _
             (setenv "RAILS_VERSION"
                     ,(version-major+minor (package-version ruby-rails)))
             (substitute* "active_model_serializers.gemspec"
               (("grape.*") "grape'\n")
               (("kaminari.*") "kaminari'\n")
               (("minitest.*") "minitest'\n")
               ((".*json_schema.*") "") ; can't seem to find it during the 'check phase
               )
             (substitute* "Gemfile"
               (("rubocop.*") "rubocop'\n")
               )
             #t)))))
    (propagated-inputs
     `(("ruby-actionpack" ,ruby-actionpack)
       ("ruby-activemodel" ,ruby-activemodel)
       ("ruby-case-transform" ,ruby-case-transform)
       ("ruby-jsonapi-renderer" ,ruby-jsonapi-renderer)))
    (native-inputs
     `(
       ("ruby-benchmark-ips" ,ruby-benchmark-ips)
       ("ruby-codeclimate-test-reporter" ,ruby-codeclimate-test-reporter)
       ("ruby-grape" ,ruby-grape)
       ("ruby-json-schema" ,ruby-json-schema)
       ("ruby-kaminari" ,ruby-kaminari)
       ("ruby-m" ,ruby-m)
       ("ruby-minitest" ,ruby-minitest)
       ("ruby-pry" ,ruby-pry)
       ("ruby-rails" ,ruby-rails)
       ("ruby-rubocop" ,ruby-rubocop)
       ("ruby-simplecov" ,ruby-simplecov)
       ("ruby-sqlite3" ,ruby-sqlite3-1.3)
       ("ruby-timecop" ,ruby-timecop)
       ("ruby-will-paginate" ,ruby-will-paginate)
       ("ruby-yard" ,ruby-yard)
       ))
    (synopsis "Generate JSON in an object-oriented manner")
    (description
     "@code{ActiveModel::Serializers} allows one to generate your JSON in an
object-oriented and convention-driven manner.")
    (home-page "https://github.com/rails-api/active_model_serializers")
    (license license:expat)))

(define-public ruby-onebox
  (package
    (name "ruby-onebox")
    (version "2.2.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "onebox" version))
        (sha256
         (base32
          "1lj5x8jrs9whgynfksvlnlds4crdi6dm9bb3vh654s8vpqxbjcbn"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; Tests require ancient version of ruby-twitter.
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'adjust-version-requirements
           (lambda _
             (substitute* "onebox.gemspec"
               (("twitter.*") "twitter'\n"))
             #t)))))
    (propagated-inputs
     `(("ruby-addressable" ,ruby-addressable)
       ("ruby-htmlentities" ,ruby-htmlentities)
       ("ruby-multi-json" ,ruby-multi-json)
       ("ruby-mustache" ,ruby-mustache)
       ("ruby-nokogiri" ,ruby-nokogiri)
       ("ruby-sanitize" ,ruby-sanitize)))
    (native-inputs
     `(("ruby-fakeweb" ,ruby-fakeweb)
       ("ruby-mocha" ,ruby-mocha)
       ("ruby-pry" ,ruby-pry)
       ("ruby-rake" ,ruby-rake)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rubocop-discourse" ,ruby-rubocop-discourse)
       ("ruby-twitter" ,ruby-twitter)))
    (synopsis "Generate embeddable HTML previews from URLs")
    (description "This package provides a gem for generating embeddable HTML
previews from URLs.")
    (home-page "https://github.com/discourse/onebox")
    (license license:expat)))

(define-public ruby-discourse-ember-source
  (package
    (name "ruby-discourse-ember-source")
    (version "3.12.2.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "discourse-ember-source" version))
        (sha256
         (base32
          "0mqkwiqb5n64lc5jdjnmpgb9apq08ywkz9yk8mj1sx2lqcsw11pc"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis "Fork of Ember source to permit latest ember versions")
    (description "This package provides a fork of Ember source to permit the
latest ember versions.")
    (home-page "https://github.com/discourse/discourse-ember-source")
    (license license:expat)))

(define-public ruby-jquery-rails
  (package
    (name "ruby-jquery-rails")
    (version "4.4.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "jquery-rails" version))
        (sha256
         (base32
          "0dkhm8lan1vnyl3ll0ks2q06576pdils8a1dr354vfc1y5dqw15i"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-rails-dom-testing" ,ruby-rails-dom-testing)
       ("ruby-railties" ,ruby-railties)
       ("ruby-thor" ,ruby-thor)))
    (synopsis
     "This gem provides jQuery and the jQuery-ujs driver for your Rails 4+ application.")
    (description
     "This gem provides jQuery and the jQuery-ujs driver for your Rails 4+ application.")
    (home-page "https://github.com/rails/jquery-rails")
    (license license:expat)))

(define-public ruby-barber
  (package
    (name "ruby-barber")
    (version "0.12.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "barber" version))
        (sha256
         (base32
          "07rnlbh7kgamcbnl1sqlcdrjj8src4qc687klqq4a3vqq2slnscx"))))
    (build-system ruby-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (add-before 'check 'pre-check
           (lambda _
             (setenv "HOME" (getcwd))
             #t)))))
    (propagated-inputs
     `(("ruby-ember-source" ,ruby-ember-source)
       ("ruby-execjs" ,ruby-execjs)))
    (native-inputs
     `(
       ("ruby-handlebars-source" ,ruby-handlebars-source-4.1)   ; < 4.2
       ("ruby-mocha" ,ruby-mocha)
       ("ruby-simplecov" ,ruby-simplecov)
       ))
    (synopsis "Handlebars precompilation")
    (description "Handlebars precompilation")
    (home-page "https://github.com/tchak/barber")
    (license license:expat)))

(define-public ruby-ember-handlebars-template
  (package
    (name "ruby-ember-handlebars-template")
    (version "0.8.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri
               "ember-handlebars-template"
               version))
        (sha256
         (base32
          "1wxj3vi4xs3vjxrdbzi4j4w6vv45r5dkz2rg2ldid3p8dp3irlf4"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-barber" ,ruby-barber)
       ("ruby-sprockets" ,ruby-sprockets)))
    (synopsis
      "The sprockets template for Ember Handlebars.")
    (description
      "The sprockets template for Ember Handlebars.")
    (home-page
      "https://github.com/tricknotes/ember-handlebars-template")
    (license license:expat)))

(define-public ruby-babel-source
  (package
    (name "ruby-babel-source")
    (version "5.8.35")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "babel-source" version))
        (sha256
         (base32
          "1ncq8h82k6hypzfb5dk7z95mmcdwnhsxmc53xz17m1nbklm25vvr"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis "Babel JS source")
    (description "Babel JS source")
    (home-page
      "https://github.com/babel/ruby-babel-transpiler")
    (license license:expat)))

(define-public ruby-babel-transpiler
  (package
    (name "ruby-babel-transpiler")
    (version "0.7.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "babel-transpiler" version))
        (sha256
         (base32
          "0w0minwxj56w96xps1msm6n75fs0y7r1vqcr9zlsn74fksnz81jc"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-babel-source" ,ruby-babel-source)
       ("ruby-execjs" ,ruby-execjs)))
    (synopsis
      "    Ruby Babel is a bridge to the JS Babel transpiler.
")
    (description
      "    Ruby Babel is a bridge to the JS Babel transpiler.
")
    (home-page "https://github.com/babel/ruby-babel-transpiler")
    (license license:expat)))

(define-public ruby-ember-es6-template
  (package
    (name "ruby-ember-es6-template")
    (version "0.7.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "ember-es6_template" version))
        (sha256
         (base32
          "0cb9yfwwxvi615k1vg20zkm6czkpapcncwbznbch58zkp5rdw7i9"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-babel-transpiler" ,ruby-babel-transpiler)
       ("ruby-sprockets" ,ruby-sprockets)))
    (synopsis
      "The tilt template for Ember specified ES6.")
    (description
      "The tilt template for Ember specified ES6.")
    (home-page "https://github.com/tricknotes/ember-es6_template")
    (license license:expat)))

(define-public ruby-ember-cli-assets
  (package
    (name "ruby-ember-cli-assets")
    (version "0.0.37")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "ember-cli-assets" version))
        (sha256
         (base32
          "057dhafsdr4lbagx5k7sdrh2vfmy1llqpv347qy7d5jkhxdmns96"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; cannot load such file -- ember/cli/assets
    (synopsis "The assets for Ember CLI.")
    (description "The assets for Ember CLI.")
    (home-page "https://github.com/tricknotes/ember-cli-assets")
    (license license:expat)))

(define-public ruby-ember-source
  (package
    (name "ruby-ember-source")
    (version "2.18.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "ember-source" version))
        (sha256
         (base32
          "0sixy30ym9j2slhlr0lfq943g958w8arlb0lsizh59iv1w5gmxxy"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis
      "Ember.js source code wrapper for use with Ruby libs.")
    (description
      "Ember.js source code wrapper for use with Ruby libs.")
    (home-page "https://github.com/emberjs/ember.js")
    (license license:expat)))

(define-public ruby-ember-data-source
  (package
    (name "ruby-ember-data-source")
    (version "3.0.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "ember-data-source" version))
        (sha256
         (base32
          "1803nh3knvwl12h63jd48qvbbrp42yy291wcb35960daklip0fd8"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-ember-source" ,ruby-ember-source)))
    (synopsis
      "ember-data source code wrapper for use with Ruby libs.")
    (description
      "ember-data source code wrapper for use with Ruby libs.")
    (home-page "https://github.com/emberjs/data")
    (license license:expat)))

(define-public ruby-active-model-adapter-source
  (package
    (name "ruby-active-model-adapter-source")
    (version "2.1.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri
               "active-model-adapter-source"
               version))
        (sha256
         (base32
          "0hr8a4nyppnqs053i1badjwhm095scrp0x1w7v742r9s5sxp8pyd"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-ember-data-source" ,ruby-ember-data-source)))
    (synopsis
      "ember-data active-model-adapter code wrapper for use with Ruby libs.")
    (description
      "ember-data active-model-adapter code wrapper for use with Ruby libs.")
    (home-page "https://github.com/ember-data/active-model-adapter")
    (license license:expat)))

(define-public ruby-ember-rails
  (package
    (name "ruby-ember-rails")
    (version "0.21.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "ember-rails" version))
        (sha256
         (base32
          "0f1vd6l35d4q589sbmyxpjfs777kf0r5x6s6aap1v2r0i1x342a3"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-active-model-adapter-source" ,ruby-active-model-adapter-source)
       ("ruby-active-model-serializers" ,ruby-active-model-serializers)
       ("ruby-ember-cli-assets" ,ruby-ember-cli-assets)
       ("ruby-ember-data-source" ,ruby-ember-data-source)
       ("ruby-ember-es6-template" ,ruby-ember-es6-template)
       ("ruby-ember-handlebars-template" ,ruby-ember-handlebars-template)
       ("ruby-ember-source" ,ruby-ember-source)
       ("ruby-jquery-rails" ,ruby-jquery-rails)
       ("ruby-railties" ,ruby-railties)))
    (synopsis "Ember for Rails 3.1+")
    (description "Ember for Rails 3.1+")
    (home-page "https://github.com/emberjs/ember-rails")
    (license license:expat)))

(define-public ruby-handlebars-source
  (package
    (name "ruby-handlebars-source")
    (version "4.7.7")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "handlebars-source" version))
        (sha256
         (base32
          "0sjir1fwrqajkcc8blr32vnkamcqma8b0na6fm562hh9rdzcxb0c"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis
      "Handlebars.js source code wrapper for (pre)compilation gems.")
    (description
      "Handlebars.js source code wrapper for (pre)compilation gems.")
    (home-page "https://github.com/wycats/handlebars.js/")
    (license license:expat)))

(define-public ruby-handlebars-source-4.1
  (package
    (inherit ruby-handlebars-source)
    (name "ruby-handlebars-source")
    (version "4.1.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "handlebars-source" version))
        (sha256
         (base32
          "0w8xq7nnrwhz5bfcamkvkkcb10rw7kjb809n7w949mc5h0b4l8r5"))))))

(define-public ruby-discourse-ember-rails
  (package
    (name "ruby-discourse-ember-rails")
    (version "0.18.6")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "discourse-ember-rails" version))
        (sha256
         (base32
          "0ax5x2d6q6hkm7r58ai9p0sahlg842aqlm7dpv6svrfpnjlaz7sf"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-active-model-serializers" ,ruby-active-model-serializers)
       ("ruby-ember-data-source" ,ruby-ember-data-source)
       ("ruby-ember-handlebars-template" ,ruby-ember-handlebars-template)
       ("ruby-ember-source" ,ruby-ember-source)
       ("ruby-jquery-rails" ,ruby-jquery-rails)
       ("ruby-railties" ,ruby-railties)))
    (synopsis "Ember for Rails 3.1+")
    (description "Ember for Rails 3.1+")
    (home-page "https://github.com/emberjs/ember-rails")
    (license license:expat)))

(define-public ruby-discourse-fonts
  (package
    (name "ruby-discourse-fonts")
    (version "0.0.6")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "discourse-fonts" version))
        (sha256
         (base32
          "101fhmgzrkwa8rvqrac3ccqp54aizm553n167ikzg7mcgbyrxw4a"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis
      "Bundle of fonts which can be used to customize the look of Discourse")
    (description
      "Bundle of fonts which can be used to customize the look of Discourse")
    (home-page "https://github.com/discourse/discourse-fonts")
    (license license:expat)))

(define-public ruby-message-bus
  (package
    (name "ruby-message-bus")
    (version "3.3.4")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "message_bus" version))
        (sha256
         (base32
          "0hckijk9aa628nx66vr7axfsk7zfdkskaxj1mdzikk019q3h54fr"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; Don't know how to build task 'test'
       #:phases
       (modify-phases %standard-phases
         (add-before 'check 'pre-check
           (lambda _
             (setenv "HOME" (getcwd))
             #t)))))
    (propagated-inputs
     `(("ruby-rack" ,ruby-rack)))
    (native-inputs
     `(
       ("ruby-byebug" ,ruby-byebug)
       ("ruby-http-parser.rb" ,ruby-http-parser.rb)
       ("ruby-jasmine" ,ruby-jasmine)
       ("ruby-minitest-global-expectations" ,ruby-minitest-global-expectations)
       ("ruby-minitest-hooks" ,ruby-minitest-hooks)
       ("ruby-pg" ,ruby-pg)
       ("ruby-puma" ,ruby-puma)
       ("ruby-rack-test" ,ruby-rack-test)
       ("ruby-redis" ,ruby-redis)
       ("ruby-rubocop-discourse" ,ruby-rubocop-discourse)
       ("ruby-thin" ,ruby-thin)
       ("ruby-yard" ,ruby-yard)
       ))
    (synopsis "Message bus for rack")
    (description "This package provides a message bus for rack.")
    (home-page "https://github.com/SamSaffron/message_bus")
    (license license:expat)))

(define-public ruby-phantomjs
  (package
    (name "ruby-phantomjs")
    (version "2.1.1.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "phantomjs" version))
        (sha256
         (base32
          "0y8pbbyq9dirxb7igkb2s5limz2895qmr41c09fjhx6k6fxcz4mk"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; don't know how to build task 'test'
    (synopsis
      "Auto-install phantomjs on demand for current platform. Comes with poltergeist integration.")
    (description
      "Auto-install phantomjs on demand for current platform.  Comes with poltergeist integration.")
    (home-page "https://github.com/colszowka/phantomjs-gem")
    (license license:expat)))

(define-public ruby-jasmine-core
  (package
    (name "ruby-jasmine-core")
    (version "3.6.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "jasmine-core" version))
        (sha256
         (base32
          "0072bf0l1y6gnqw3mm4mlq7ivs19lyzr074sjibpfvryi7b449r6"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis
      "Test your JavaScript without any framework dependencies, in any environment, and with a nice descriptive syntax.")
    (description
      "Test your JavaScript without any framework dependencies, in any environment, and with a nice descriptive syntax.")
    (home-page "http://jasmine.github.io")
    (license license:expat)))

(define-public ruby-jasmine
  (package
    (name "ruby-jasmine")
    (version "3.6.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "jasmine" version))
        (sha256
         (base32
          "1zbsr1d6507pvcfr3ji5hv0ksaaygi8jfp4dz1y1k1jdkkapy24b"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; cannot load such file -- rpsec
    (propagated-inputs
     `(("ruby-jasmine-core" ,ruby-jasmine-core)
       ("ruby-phantomjs" ,ruby-phantomjs)
       ("ruby-rack" ,ruby-rack)
       ("ruby-rake" ,ruby-rake)))
    (synopsis
      "Test your JavaScript without any framework dependencies, in any environment, and with a nice descriptive syntax.")
    (description
      "Test your JavaScript without any framework dependencies, in any environment, and with a nice descriptive syntax.")
    (home-page "http://jasmine.github.io/")
    (license license:expat)))

(define-public ruby-rubocop-discourse
  (package
    (name "ruby-rubocop-discourse")
    (version "2.4.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "rubocop-discourse" version))
        (sha256
         (base32
          "1z1h8spsjnsqz6c25n9ib1yimkwr7a76bas8w1k9c404hcqhlahv"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; don't know how to build task 'test'
    (propagated-inputs
     `(("ruby-rubocop" ,ruby-rubocop)
       ("ruby-rubocop-rspec" ,ruby-rubocop-rspec)))
    (synopsis
      "Custom rubocop cops used by Discourse")
    (description
      "Custom rubocop cops used by Discourse")
    (home-page "https://github.com/discourse/rubocop-discourse")
    (license license:expat)))

(define-public ruby-rails-multisite
  (package
    (name "ruby-rails-multisite")
    (version "2.5.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "rails_multisite" version))
        (sha256
          (base32
            "0p7g9gkcmw030zfqlw3k933i40j31wf3jh4bj1niihzk7slha97y"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-activerecord" ,ruby-activerecord)
       ("ruby-railties" ,ruby-railties)))
    (synopsis "Multi tenancy support for Rails")
    (description "Multi tenancy support for Rails")
    (home-page "")
    (license #f)))

(define-public ruby-fast-xs
  (package
    (name "ruby-fast-xs")
    (version "0.8.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "fast_xs" version))
        (sha256
         (base32
          "1iydzaqmvqq7ncxkr182aybkk6xap0cb2w9amr73vbdxi2qf3wjz"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; undefined method `url='
    (propagated-inputs
     `(("ruby-hoe" ,ruby-hoe)))
    (synopsis "Ruby extensions for escaping text")
    (description
     "@code{fast_xs} escapes text so it can be embedded more directly into XML
and HTML without having to deal with character set issues.")
    (home-page "http://fast-xs.rubyforge.org/")
    (license license:expat)))

(define-public ruby-xorcist
  (package
    (name "ruby-xorcist")
    (version "1.1.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "xorcist" version))
        (sha256
         (base32
          "1q7hr3qyn1hczv9fglqc2cbaax0fb37gjjr0y24x19mmp817csdn"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis
      "Blazing-fast-cross-platform-monkey-patch-free string XOR. Yes, that means JRuby too.")
    (description
      "Blazing-fast-cross-platform-monkey-patch-free string XOR.  Yes, that means JRuby too.")
    (home-page "https://github.com/fny/xorcist")
    (license license:expat)))

(define-public ruby-fastimage
  (package
    (name "ruby-fastimage")
    (version "2.2.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "fastimage" version))
        (sha256
         (base32
          "1zgv6588jiaisgng3bkcf5a3rlia82yrs39g7n27jhmpmhgk8j1w"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis
      "FastImage finds the size or type of an image given its uri by fetching as little as needed.")
    (description
      "FastImage finds the size or type of an image given its uri by fetching as little as needed.")
    (home-page "http://github.com/sdsykes/fastimage")
    (license license:expat)))

(define-public ruby-email-reply-trimmer
  (package
    (name "ruby-email-reply-trimmer")
    (version "0.1.13")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "email_reply_trimmer" version))
        (sha256
         (base32
          "1jgcxifm48xq5dz9k47q43pqm5bfnf14l62l3bqhmv8f6z8dw4ki"))))
    (build-system ruby-build-system)
    (synopsis
      "EmailReplyTrimmer is a small library to trim replies from plain text email.")
    (description
      "EmailReplyTrimmer is a small library to trim replies from plain text email.")
    (home-page "https://github.com/discourse/email_reply_trimmer")
    (license license:expat)))

(define-public ruby-progress
  (package
    (name "ruby-progress")
    (version "3.5.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "progress" version))
        (sha256
         (base32
          "1pm3bv5n8c8j0vfm7wghd7xf6yq4m068cksxjldmna11qi0h0s8s"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis "Show progress of long running tasks")
    (description
      "Show progress of long running tasks")
    (home-page "http://github.com/toy/progress")
    (license license:expat)))

(define-public ruby-in-threads
  (package
    (name "ruby-in-threads")
    (version "1.5.4")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "in_threads" version))
        (sha256
         (base32
          "0m71806p1gm4kxiz4gvkyr8qip16hifn2kdf926jz44jj6kc6bbs"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis
      "Run all possible enumerable methods in concurrent/parallel threads")
    (description
      "Run all possible enumerable methods in concurrent/parallel threads")
    (home-page "https://github.com/toy/in_threads")
    (license license:expat)))

(define-public ruby-image-size
  (package
    (name "ruby-image-size")
    (version "2.1.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "image_size" version))
        (sha256
         (base32
          "00irlgdpg67ay3wf5ljmphpdk6wc6khs6nhc5ysl5l10mmfi62p6"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis
      "Measure following file dimensions: apng, bmp, cur, gif, ico, j2c, jp2, jpeg, jpx, mng, pam, pbm, pcx, pgm, png, ppm, psd, svg, swf, tiff, webp, xbm, xpm")
    (description
      "Measure following file dimensions: apng, bmp, cur, gif, ico, j2c, jp2, jpeg, jpx, mng, pam, pbm, pcx, pgm, png, ppm, psd, svg, swf, tiff, webp, xbm, xpm")
    (home-page "https://github.com/toy/image_size")
    (license #f)))

(define-public ruby-fspath
  (package
    (name "ruby-fspath")
    (version "3.1.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "fspath" version))
        (sha256
         (base32
          "0xcxikkrjv8ws328nn5ax5pyfjs8pn7djg1hks7qyb3yp6prpb5m"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis "Better than Pathname")
    (description "Better than Pathname")
    (home-page "http://github.com/toy/fspath")
    (license license:expat)))

(define-public ruby-exifr
  (package
    (name "ruby-exifr")
    (version "1.3.9")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "exifr" version))
        (sha256
         (base32
          "0mylhwmh6n4xihxr9s3zj0lc286f5maxbqd4dgk3paqnd7afz88s"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; test files missing?
    (synopsis
      "EXIF Reader is a module to read EXIF from JPEG and TIFF images.")
    (description
      "EXIF Reader is a module to read EXIF from JPEG and TIFF images.")
    (home-page "https://remvee.github.io/exifr/")
    (license license:expat)))

(define-public ruby-image-optim
  (package
    (name "ruby-image-optim")
    (version "0.28.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "image_optim" version))
        (sha256
         (base32
          "04n7xia22pr4ihzyf7bprnn630284cnfy2p3pk9q4b2cxaf5gj3s"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-exifr" ,ruby-exifr)
       ("ruby-fspath" ,ruby-fspath)
       ("ruby-image-size" ,ruby-image-size)
       ("ruby-in-threads" ,ruby-in-threads)
       ("ruby-progress" ,ruby-progress)))
    (synopsis
      "Command line tool and ruby interface to optimize (lossless compress, optionally lossy) jpeg, png, gif and svg images using external utilities (advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegrescan, jpegtran, optipng, pngcrush, pngout, pngquant, svgo)")
    (description
      "Command line tool and ruby interface to optimize (lossless compress, optionally lossy) jpeg, png, gif and svg images using external utilities (advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegrescan, jpegtran, optipng, pngcrush, pngout, pngquant, svgo)")
    (home-page "https://github.com/toy/image_optim")
    (license license:expat)))

(define-public ruby-discourse-image-optim
  (package
    (name "ruby-discourse-image-optim")
    (version "0.26.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "discourse_image_optim" version))
        (sha256
         (base32
          "11nqmga5ygxyhjmsc07gsa0fwwyhdpwi20yyr4fnh263xs1xylvv"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-exifr" ,ruby-exifr)
       ("ruby-fspath" ,ruby-fspath)
       ("ruby-image-size" ,ruby-image-size)
       ("ruby-in-threads" ,ruby-in-threads)
       ("ruby-progress" ,ruby-progress)))
    (synopsis
      "Optimize (lossless compress, optionally lossy) images (jpeg, png, gif, svg) using external utilities (advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegrescan, jpegtran, optipng, pngcrush, pngout, pngquant, svgo)")
    (description
      "Optimize (lossless compress, optionally lossy) images (jpeg, png, gif, svg) using external utilities (advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegrescan, jpegtran, optipng, pngcrush, pngout, pngquant, svgo)")
    (home-page
      "http://github.com/toy/discourse_image_optim")
    (license license:expat)))

(define-public ruby-omniauth-facebook
  (package
    (name "ruby-omniauth-facebook")
    (version "8.0.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "omniauth-facebook" version))
        (sha256
         (base32
          "1z0f5sr2ddnvfva0jrfd4926nlv4528rfj7z595288n39304r092"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-omniauth-oauth2" ,ruby-omniauth-oauth2)))
    (native-inputs
     `(("ruby-mocha" ,ruby-mocha)))
    (synopsis "Facebook OAuth2 Strategy for OmniAuth")
    (description
      "Facebook OAuth2 Strategy for OmniAuth")
    (home-page "https://github.com/simi/omniauth-facebook")
    (license license:expat)))

(define-public ruby-oauth
  (package
    (name "ruby-oauth")
    (version "0.5.5")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "oauth" version))
        (sha256
         (base32
          "1m08365nyp0fgw2iyzj8q8qy8zml0c1hw2dd8cp82pp6656ahbh3"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis "OAuth Core Ruby implementation")
    (description "OAuth Core Ruby implementation")
    (home-page #f)
    (license license:expat)))

(define-public ruby-omniauth-oauth
  (package
    (name "ruby-omniauth-oauth")
    (version "1.2.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "omniauth-oauth" version))
        (sha256
         (base32
          "0yw2vzx633p9wpdkd4jxsih6mw604mj7f6myyfikmj4d95c8d9z7"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; cannot load such file -- rspec/core/rake_task
    (propagated-inputs
     `(("ruby-oauth" ,ruby-oauth)
       ("ruby-omniauth" ,ruby-omniauth)))
    (synopsis
      "A generic OAuth (1.0/1.0a) strategy for OmniAuth.")
    (description
      "This package provides a generic OAuth (1.0/1.0a) strategy for OmniAuth.")
    (home-page "https://github.com/intridea/omniauth-oauth")
    (license license:expat)))

(define-public ruby-omniauth-twitter
  (package
    (name "ruby-omniauth-twitter")
    (version "1.4.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "omniauth-twitter" version))
        (sha256
         (base32
          "0r5j65hkpgzhvvbs90id3nfsjgsad6ymzggbm7zlaxvnrmvnrk65"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; cannot load such file -- rspec/core/rake_task
    (propagated-inputs
     `(("ruby-omniauth-oauth" ,ruby-omniauth-oauth)
       ("ruby-rack" ,ruby-rack)))
    (synopsis "OmniAuth strategy for Twitter")
    (description "OmniAuth strategy for Twitter")
    (home-page "https://github.com/arunagw/omniauth-twitter")
    (license license:expat)))

(define-public ruby-omniauth-github
  (package
    (name "ruby-omniauth-github")
    (version "2.0.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "omniauth-github" version))
        (sha256
         (base32
          "0jc66zp4bhwy7c6s817ws0nkimski3crrhwd7xyy55ss29v6b8hw"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; cannot load such file -- rspec/core/rake_task
    (propagated-inputs
     `(("ruby-omniauth" ,ruby-omniauth)
       ("ruby-omniauth-oauth2" ,ruby-omniauth-oauth2)))
    (synopsis "Official OmniAuth strategy for GitHub")
    (description
      "Official OmniAuth strategy for GitHub.")
    (home-page "https://github.com/intridea/omniauth-github")
    (license license:expat)))

(define-public ruby-omniauth-google-oauth2
  (package
    (name "ruby-omniauth-google-oauth2")
    (version "0.8.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "omniauth-google-oauth2" version))
        (sha256
         (base32
          "10awaj2s3c46knpv9vawhjzbbaygp685dm9n8blq2d3j4w5m3d53"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; cannot load such file -- rspec/core/rake_task
    (propagated-inputs
     `(("ruby-jwt" ,ruby-jwt)
       ("ruby-oauth2" ,ruby-oauth2)
       ("ruby-omniauth" ,ruby-omniauth)
       ("ruby-omniauth-oauth2" ,ruby-omniauth-oauth2)))
    (synopsis
      "A Google OAuth2 strategy for OmniAuth 1.x. This allows you to login to Google with your ruby app.")
    (description
      "This package provides a Google OAuth2 strategy for OmniAuth 1.x.  This allows you to login to Google with your ruby app.")
    (home-page "https://github.com/zquestz/omniauth-google-oauth2")
    (license license:expat)))

(define-public ruby-mini-sql
  (package
    (name "ruby-mini-sql")
    (version "1.0.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "mini_sql" version))
        (sha256
         (base32
          "1a2s8n4nq3w86hx3ya7xs2fkzz8rp0kmz0zqzhf9r5rybprr702m"))))
    (build-system ruby-build-system)
    (synopsis
      "A fast, safe, simple direct SQL executor for PG")
    (description
      "This package provides a fast, safe, simple direct SQL executor for PG")
    (home-page "https://github.com/discourse/mini_sql")
    (license license:expat)))

(define-public ruby-rinku
  (package
    (name "ruby-rinku")
    (version "2.0.6")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "rinku" version))
        (sha256
         (base32
          "0zcdha17s1wzxyc5814j6319wqg33jbn58pg6wmxpws36476fq4b"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; cannot load such file -- rake/extensiontask
    (synopsis
      "    A fast and very smart autolinking library that
    acts as a drop-in replacement for Rails `auto_link`
")
    (description
      "    A fast and very smart autolinking library that
    acts as a drop-in replacement for Rails `auto_link`
")
    (home-page "https://github.com/vmg/rinku")
    (license #f)))

(define-public ruby-sidekiq
  (package
    (name "ruby-sidekiq")
    (version "6.1.3")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "sidekiq" version))
        (sha256
         (base32
          "0ir95jdcv7ch57xiirmy6mjh8z2lm39nnwcpkwcjqx5698w0lsvs"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; cannot load such file -- standard/rake
    (propagated-inputs
     `(("ruby-connection-pool" ,ruby-connection-pool)
       ("ruby-rack" ,ruby-rack)
       ("ruby-redis" ,ruby-redis)))
    (synopsis
      "Simple, efficient background processing for Ruby.")
    (description
      "Simple, efficient background processing for Ruby.")
    (home-page "https://sidekiq.org")
    (license #f)))

(define-public ruby-mini-scheduler
  (package
    (name "ruby-mini-scheduler")
    (version "0.13.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "mini_scheduler" version))
        (sha256
         (base32
          "1cy9c2wv19m4h2sv9fs66hh1an7hq3y9513678dzx43vm3kjvhz5"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; cannot load such file -- rspec/core/rake_task
    (propagated-inputs
     `(("ruby-sidekiq" ,ruby-sidekiq)))
    (synopsis "Adds recurring jobs for Sidekiq")
    (description "Adds recurring jobs for Sidekiq")
    (home-page "https://github.com/discourse/mini_scheduler")
    (license license:expat)))

;; TODO: This package needs fixing!
(define-public ruby-libv8
  (package
    (name "ruby-libv8")
    (version "8.4.255.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "libv8" version))
        (sha256
         (base32
          "0317sr3nrl51sp844bps71smkrwim3fjn47wdfpbycixnbxspivm"))))
    (build-system ruby-build-system)
    (arguments
     `(
       ;#:test-target "spec binary"
       #:phases
       (modify-phases %standard-phases
         (delete 'check)
         (add-after 'install 'check
           (assoc-ref %standard-phases 'check))
         (add-after 'unpack 'adjust-version-requirements
           (lambda _
             (substitute* "libv8.gemspec"
               (("rake-compiler.*") "rake-compiler'\n"))
             #t))
         (add-before 'build 'pre-build
           (lambda _
             (setenv "HOME" (getcwd))
             ;(invoke "bundle" "install")   ; no network access
             (invoke "bundle" "exec" "rake" "compile")
             ))
         )
       ))
    (native-inputs
     `(
       ("glib" ,(@ (gnu packages glib) glib))
       ("pkg-config" ,(@ (gnu packages pkg-config) pkg-config))
       ("python" ,python-2)
       ("ruby-rake" ,ruby-rake)
       ("ruby-rake-compiler" ,ruby-rake-compiler)
       ("ruby-rspec" ,ruby-rspec)
       ))
    (synopsis
      "Distributes the V8 JavaScript engine in binary and source forms in order to support fast builds of The Ruby Racer")
    (description
      "Distributes the V8 JavaScript engine in binary and source forms in order to support fast builds of The Ruby Racer")
    (home-page "http://github.com/rubyjs/libv8")
    (license license:expat)))

(define-public ruby-mini-racer
  (package
    (name "ruby-mini-racer")
    (version "0.3.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "mini_racer" version))
        (sha256
         (base32
          "0r7j241mvhyyc017bqgp0pvf3jyrwbcqvz2pzm0r8zn2r85ks1jl"))))
    (build-system ruby-build-system)
    (propagated-inputs `(("ruby-libv8" ,ruby-libv8)))
    (synopsis "Minimal embedded v8 engine for Ruby")
    (description
      "Minimal embedded v8 engine for Ruby")
    (home-page "https://github.com/discourse/mini_racer")
    (license license:expat)))

(define-public ruby-uglifier
  (package
    (name "ruby-uglifier")
    (version "4.2.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "uglifier" version))
        (sha256
         (base32
          "0wgh7bzy68vhv9v68061519dd8samcy8sazzz0w3k8kqpy3g4s5f"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; cannot load such file -- rspec/core/rake_task
    (propagated-inputs
     `(("ruby-execjs" ,ruby-execjs)))
    (synopsis
      "Uglifier minifies JavaScript files by wrapping UglifyJS to be accessible in Ruby")
    (description
      "Uglifier minifies JavaScript files by wrapping UglifyJS to be accessible in Ruby")
    (home-page "http://github.com/lautis/uglifier")
    (license license:expat)))

(define-public ruby-fast-blank
  (package
    (name "ruby-fast-blank")
    (version "1.0.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "fast_blank" version))
        (sha256
         (base32
          "16s1ilyvwzmkcgmklbrn0c2pch5n02vf921njx0bld4crgdr6z56"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis
      "Provides a C-optimized method for determining if a string is blank")
    (description
      "This package provides a C-optimized method for determining if a string is blank")
    (home-page "https://github.com/SamSaffron/fast_blank")
    (license license:expat)))

(define-public ruby-lru-redux
  (package
    (name "ruby-lru-redux")
    (version "1.1.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "lru_redux" version))
        (sha256
         (base32
          "1yxghzg7476sivz8yyr9nkak2dlbls0b89vc2kg52k0nmg6d0wgf"))))
    (build-system ruby-build-system)
    (native-inputs
     `(
       ("ruby-timecop" ,ruby-timecop)
       ))
    (synopsis
      "An efficient implementation of an lru cache")
    (description
      "An efficient implementation of an lru cache")
    (home-page "https://github.com/SamSaffron/lru_redux")
    (license license:expat)))

(define-public ruby-rack-mini-profiler
  (package
    (name "ruby-rack-mini-profiler")
    (version "2.3.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "rack-mini-profiler" version))
        (sha256
         (base32
          "1zir2lf9vc6h98gly4qmsd2gdvly4pn8576pl9kzx7i9j4v54ysh"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-rack" ,ruby-rack)))
    (synopsis
      "Profiling toolkit for Rack applications with Rails integration. Client Side profiling, DB profiling and Server profiling.")
    (description
      "Profiling toolkit for Rack applications with Rails integration.  Client Side profiling, DB profiling and Server profiling.")
    (home-page "https://miniprofiler.com")
    (license license:expat)))

(define-public ruby-logster
  (package
    (name "ruby-logster")
    (version "2.9.5")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "logster" version))
        (sha256
         (base32
          "1r0s6y2gh81vsajnc1ny5k9lv9zdm7667v4b3kh2w0w4v82kiiw1"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; TODO: only disable network tests
    (native-inputs
     `(
       ("ruby-byebug" ,ruby-byebug)
       ("ruby-rack" ,ruby-rack)
       ("ruby-redis" ,ruby-redis)
       ("ruby-timecop" ,ruby-timecop)
       ))
    (synopsis "UI for viewing logs in Rack")
    (description "UI for viewing logs in Rack")
    (home-page "https://github.com/discourse/logster")
    (license license:expat)))

(define-public ruby-sassc-rails
  (package
    (name "ruby-sassc-rails")
    (version "2.1.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "sassc-rails" version))
        (sha256
         (base32
          "1d9djmwn36a5m8a83bpycs48g8kh1n2xkyvghn7dr6zwh4wdyksz"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; cannot find tzinfo-data
       #:phases
       (modify-phases %standard-phases
         (add-before 'check 'pre-check
           (lambda _
             (setenv "HOME" (getcwd))
             (substitute* "sassc-rails.gemspec"
               (("~> 10.0") ">= 10.0"))
             #t)))))
    (propagated-inputs
     `(("ruby-railties" ,ruby-railties)
       ("ruby-sassc" ,ruby-sassc)
       ("ruby-sprockets" ,ruby-sprockets)
       ("ruby-sprockets-rails" ,ruby-sprockets-rails)
       ("ruby-tilt" ,ruby-tilt)))
    (native-inputs
     `(
       ("ruby-mocha" ,ruby-mocha)
       ("ruby-pry" ,ruby-pry)
       ("ruby-rake" ,ruby-rake)
       ("ruby-tzinfo-data" ,ruby-tzinfo-data)
       ))
    (synopsis "Integrate SassC-Ruby into Rails.")
    (description "Integrate SassC-Ruby into Rails.")
    (home-page "https://github.com/sass/sassc-rails")
    (license license:expat)))

(define-public ruby-rqrcode-core
  (package
    (name "ruby-rqrcode-core")
    (version "0.2.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "rqrcode_core" version))
        (sha256
         (base32
          "00kqasqja8zyzqvlgiwd9r0wndqk01qk5j68a8lhlz4ayrd4qy0y"))))
    (build-system ruby-build-system)
    (synopsis
      "rqrcode_core is a Ruby library for encoding QR Codes. The simple
interface (with no runtime dependencies) allows you to create QR Code data structures.
")
    (description
      "rqrcode_core is a Ruby library for encoding QR Codes.  The simple
interface (with no runtime dependencies) allows you to create QR Code data structures.
")
    (home-page "https://github.com/whomwah/rqrcode_core")
    (license license:expat)))

(define-public ruby-rqrcode
  (package
    (name "ruby-rqrcode")
    (version "1.2.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "rqrcode" version))
        (sha256
         (base32
          "0f1cv9a9sjqc898qm3h7zmkhwglrjw5blsskbg3gsaws01d4bc47"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-chunky-png" ,ruby-chunky-png)
       ("ruby-rqrcode-core" ,ruby-rqrcode-core)))
    (synopsis
      "rqrcode is a library for encoding QR Codes. The simple
interface allows you to create QR Code data structures
and then render them in the way you choose.
")
    (description
      "rqrcode is a library for encoding QR Codes.  The simple
interface allows you to create QR Code data structures
and then render them in the way you choose.
")
    (home-page "https://github.com/whomwah/rqrcode")
    (license license:expat)))

(define-public ruby-sqlite3-1.3
  (package
    (inherit ruby-sqlite3)
    (name "ruby-sqlite3")
    (version "1.3.13")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "sqlite3" version))
        (sha256
         (base32
          "01ifzp8nwzqppda419c9wcvr8n82ysmisrs0hph9pdmv1lpa4f5i"))))))

(define-public ruby-bbcode-to-md
  (let ((commit "3b9aaf2b634704a415788c94f7dee93a81f616b5")
           (revision "1"))
    (package
      (name "ruby-bbcode-to-md")
      (version (git-version "0.0.15" revision commit))
      (source
        (origin
          (method git-fetch)
          (uri (git-reference
                 (url "https://github.com/nlalonde/ruby-bbcode-to-md")
                 (commit commit)))
          (file-name (git-file-name name version))
          (sha256
           (base32
            "1c173jr1y4z7vxk7cshh17mjdkq8d690zzs3kc76j2wbvfbmcpcp"))))
      (build-system ruby-build-system)
      (arguments
       `(#:phases
         (modify-phases %standard-phases
           (add-after 'unpack 'patch-source
             (lambda _
               (delete-file "Gemfile.lock")
               #t)))))
      (propagated-inputs
       `(("ruby-activesupport" ,ruby-activesupport)))
      (native-inputs
       `(("ruby-pry" ,ruby-pry)))
      (synopsis
        "Convert BBCode to Markdown and check whether the BBCode is valid.")
      (description
        "Convert BBCode to Markdown and check whether the BBCode is valid.")
      (home-page "https://github.com/rikkit/ruby-bbcode-to-md")
      (license license:expat))))

(define-public ruby-tiny-tds
  (package
    (name "ruby-tiny-tds")
    (version "2.1.3")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "tiny_tds" version))
        (sha256
         (base32
          "0hy3kbcb6nwydy312rhjm4b30yavmayszzzyjpfdv6p0s8d9mfvb"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; File does not exist: tiny_tds/tiny_tds
    (inputs
     `(("freetds" ,freetds)))
    (native-inputs
     `(("ruby-connection-pool" ,ruby-connection-pool)
       ("ruby-mini-portile" ,ruby-mini-portile-2)
       ("ruby-rake" ,ruby-rake)
       ("ruby-rake-compiler" ,ruby-rake-compiler)
       ("ruby-rake-compiler-dock" ,ruby-rake-compiler-dock)))
    (synopsis
      "TinyTDS - A modern, simple and fast FreeTDS library for Ruby using DB-Library. Developed for the ActiveRecord SQL Server adapter.")
    (description
      "TinyTDS - A modern, simple and fast FreeTDS library for Ruby using DB-Library.  Developed for the ActiveRecord SQL Server adapter.")
    (home-page "https://github.com/rails-sqlserver/tiny_tds")
    (license license:expat)))

(define-public ruby-rake-compiler-dock
  (package
    (name "ruby-rake-compiler-dock")
    (version "1.1.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "rake-compiler-dock" version))
        (sha256
         (base32
          "0z70p0jdp4ww0ax783nvfz1ppr8bf31kgy3la8wrcyhz1lvpq799"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; cannot load rake_compiler_dock
    (synopsis
      "Easy to use and reliable cross compiler environment for building Windows and Linux binary gems.
Use rake-compiler-dock to enter an interactive shell session or add a task to your Rakefile to automate your cross build.")
    (description
      "Easy to use and reliable cross compiler environment for building Windows and Linux binary gems.
Use rake-compiler-dock to enter an interactive shell session or add a task to your Rakefile to automate your cross build.")
    (home-page "https://github.com/rake-compiler/rake-compiler-dock")
    (license license:expat)))

(define-public ruby-csv
  (package
    (name "ruby-csv")
    (version "3.1.9")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "csv" version))
        (sha256
         (base32
          "07mgyalwdxaxnff86j5p6n5szmhqz7nrlkb40826mzggrmva8v1m"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis
      "The CSV library provides a complete interface to CSV files and data. It offers tools to enable you to read and write to and from Strings or IO objects, as needed.")
    (description
      "The CSV library provides a complete interface to CSV files and data.  It offers tools to enable you to read and write to and from Strings or IO objects, as needed.")
    (home-page "https://github.com/ruby/csv")
    (license (list #f #f))))

(define-public ruby-maxminddb
  (package
    (name "ruby-maxminddb")
    (version "0.1.22")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "maxminddb" version))
        (sha256
         (base32
          "0zlhqilyggiryywgswfi624bv10qnkm66hggmg79vvgv73j3p4sh"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; don't how how to build task 'test'
    (native-inputs
     `(
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rspec-its" ,ruby-rspec-its)
       ))
    (synopsis
      "Pure Ruby MaxMind DB (GeoIP2) binary file reader.")
    (description
      "Pure Ruby MaxMind DB (GeoIP2) binary file reader.")
    (home-page "https://github.com/yhirose/maxminddb")
    (license license:expat)))

(define-public ruby-codeclimate-test-reporter
  (package
    (name "ruby-codeclimate-test-reporter")
    (version "1.0.9")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri
               "codeclimate-test-reporter"
               version))
        (sha256
         (base32
          "1hq1f9c3f9lh0wr0apccgl6w1q2w39q93raagg50kchi7zp288cm"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-simplecov" ,ruby-simplecov-0.13)))
    (synopsis
      "Collects test coverage data from your Ruby test suite and sends it to Code Climate's hosted, automated code review service. Based on SimpleCov.")
    (description
      "Collects test coverage data from your Ruby test suite and sends it to Code Climate's hosted, automated code review service.  Based on SimpleCov.")
    (home-page "https://github.com/codeclimate/ruby-test-reporter")
    (license license:expat)))

(define-public ruby-simplecov-0.13
  (package
    (inherit ruby-simplecov)
    (name "ruby-simplecov")
    (version "0.13.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "simplecov" version))
        (sha256
         (base32
          "1r46dxq6r5rc7mgfb4w68qsm27w4qrp9kwjpssch9d5ngr12g0n7"))))))

(define-public ruby-minitest-5.10
  (package
    (inherit ruby-minitest)
    (name "ruby-minitest")
    (version "5.10.3")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "minitest" version))
        (sha256
         (base32
          "05521clw19lrksqgvg2kmm025pvdhdaniix52vmbychrn2jm7kz2"))))))

(define-public ruby-kaminari-activerecord
  (package
    (name "ruby-kaminari-activerecord")
    (version "1.2.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "kaminari-activerecord" version))
        (sha256
         (base32
          "02n5xxv6ilh39q2m6vcz7qrdai7ghk3s178dw6f0b3lavwyq49w3"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-activerecord" ,ruby-activerecord)
       ("ruby-kaminari-core" ,ruby-kaminari-core)))
    (synopsis
      "kaminari-activerecord lets your Active Record models be paginatable")
    (description
      "kaminari-activerecord lets your Active Record models be paginatable")
    (home-page "https://github.com/kaminari/kaminari")
    (license license:expat)))

(define-public ruby-kaminari-core
  (package
    (name "ruby-kaminari-core")
    (version "1.2.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "kaminari-core" version))
        (sha256
         (base32
          "0h04cr4y1jfn81gxy439vmczifghc2cvsyw47aa32is5bbxg1wlz"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis
      "kaminari-core includes pagination logic independent from ORMs and view libraries")
    (description
      "kaminari-core includes pagination logic independent from ORMs and view libraries")
    (home-page "https://github.com/kaminari/kaminari")
    (license license:expat)))

(define-public ruby-kaminari-actionview
  (package
    (name "ruby-kaminari-actionview")
    (version "1.2.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "kaminari-actionview" version))
        (sha256
         (base32
          "0w0p1hyv6lgf6h036cmn2kbkdv4x7g0g9q9kc5gzkpz7amlxr8ri"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-actionview" ,ruby-actionview)
       ("ruby-kaminari-core" ,ruby-kaminari-core)))
    (synopsis
      "kaminari-actionview provides pagination helpers for your Action View templates")
    (description
      "kaminari-actionview provides pagination helpers for your Action View templates")
    (home-page "https://github.com/kaminari/kaminari")
    (license license:expat)))

(define-public ruby-kaminari
  (package
    (name "ruby-kaminari")
    (version "1.2.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "kaminari" version))
        (sha256
         (base32
          "1vxkqciny5v4jgmjxl8qrgbmig2cij2iskqbwh4bfcmpxf467ch3"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; cannot load such file -- kaminari
    (propagated-inputs
      `(("ruby-activesupport" ,ruby-activesupport)
        ("ruby-kaminari-actionview" ,ruby-kaminari-actionview)
        ("ruby-kaminari-activerecord" ,ruby-kaminari-activerecord)
        ("ruby-kaminari-core" ,ruby-kaminari-core)))
    (synopsis
      "Kaminari is a Scope & Engine based, clean, powerful, agnostic, customizable and sophisticated paginator for Rails 4+")
    (description
      "Kaminari is a Scope & Engine based, clean, powerful, agnostic, customizable and sophisticated paginator for Rails 4+")
    (home-page "https://github.com/kaminari/kaminari")
    (license license:expat)))

;; TODO? Replace ruby-kaminari-* inputs with correct version?
(define-public ruby-kaminari-0.16
  (package
    (inherit ruby-kaminari)
    (name "ruby-kaminari")
    (version "0.16.3")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "kaminari" version))
        (sha256
         (base32
          "14vx3kgssl4lv2kn6grr5v2whsynx5rbl1j9aqiq8nc3d7j74l67"))))))

(define-public ruby-will-paginate
  (package
    (name "ruby-will-paginate")
    (version "3.3.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "will_paginate" version))
        (sha256
         (base32
          "10qk4mf3rfc0vr26j0ba6vcz7407rdjfn13ph690pkzr94rv8bay"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis
      "will_paginate provides a simple API for performing paginated queries with Active Record, DataMapper and Sequel, and includes helpers for rendering pagination links in Rails, Sinatra, Hanami, and Merb web apps.")
    (description
      "will_paginate provides a simple API for performing paginated queries with Active Record, DataMapper and Sequel, and includes helpers for rendering pagination links in Rails, Sinatra, Hanami, and Merb web apps.")
    (home-page "https://github.com/mislav/will_paginate")
    (license license:expat)))

(define-public ruby-rack-accept
  (package
    (name "ruby-rack-accept")
    (version "0.4.5")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "rack-accept" version))
        (sha256
         (base32
          "18jdipx17b4ki33cfqvliapd31sbfvs4mv727awynr6v95a7n936"))))
    (build-system ruby-build-system)
    (propagated-inputs `(("ruby-rack" ,ruby-rack)))
    (synopsis
      "HTTP Accept, Accept-Charset, Accept-Encoding, and Accept-Language for Ruby/Rack")
    (description
      "HTTP Accept, Accept-Charset, Accept-Encoding, and Accept-Language for Ruby/Rack")
    (home-page "http://mjijackson.github.com/rack-accept")
    (license #f)))

(define-public ruby-mustermann-grape
  (package
    (name "ruby-mustermann-grape")
    (version "1.0.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "mustermann-grape" version))
        (sha256
         (base32
          "0djlbi7nh161a5mwjdm1ya4hc6lyzc493ah48gn37gk6vyri5kh0"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; You must use Bundler 2 or greater with this lockfile.
    (propagated-inputs
     `(("ruby-mustermann" ,ruby-mustermann)))
    (synopsis
      "Adds Grape style patterns to Mustermman")
    (description
      "Adds Grape style patterns to Mustermman")
    (home-page "https://github.com/ruby-grape/mustermann-grape")
    (license license:expat)))

(define-public ruby-dry-logic
  (package
    (name "ruby-dry-logic")
    (version "1.1.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "dry-logic" version))
        (sha256
         (base32
          "17dnc3g9y2nj42rdx2bdvsvvms10vgw4qzjb2iw2gln9hj8b797c"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-concurrent-ruby" ,ruby-concurrent-ruby)
       ("ruby-dry-core" ,ruby-dry-core)))
    (synopsis
      "Predicate logic with rule composition")
    (description
      "Predicate logic with rule composition")
    (home-page "https://dry-rb.org/gems/dry-logic")
    (license license:expat)))

(define-public ruby-dry-inflector
  (package
    (name "ruby-dry-inflector")
    (version "0.2.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "dry-inflector" version))
        (sha256
         (base32
          "17mkdwglqsd9fg272y3zms7rixjgkb1km1xcb88ir5lxvk1jkky7"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (synopsis "String inflections for dry-rb")
    (description "String inflections for dry-rb")
    (home-page "https://dry-rb.org")
    (license license:expat)))

(define-public ruby-dry-core
  (package
    (name "ruby-dry-core")
    (version "0.5.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "dry-core" version))
        (sha256
         (base32
          "14s45hxcqpp2mbvwlwzn018i8qhcjzgkirigdrv31jd741rpgy9s"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-concurrent-ruby" ,ruby-concurrent-ruby)))
    (synopsis
      "A toolset of small support modules used throughout the dry-rb ecosystem")
    (description
      "This package provides a toolset of small support modules used throughout the dry-rb ecosystem")
    (home-page "https://dry-rb.org/gems/dry-core")
    (license license:expat)))

(define-public ruby-dry-configurable
  (package
    (name "ruby-dry-configurable")
    (version "0.12.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "dry-configurable" version))
        (sha256
         (base32
          "1fxr1352sgjbyk85qh4nfj974czw5b3rqjnl71q9p8v8fxrl6ln3"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-concurrent-ruby" ,ruby-concurrent-ruby)
       ("ruby-dry-core" ,ruby-dry-core)))
    (synopsis
      "A mixin to add configuration functionality to your classes")
    (description
      "This package provides a mixin to add configuration functionality to your classes")
    (home-page "https://dry-rb.org/gems/dry-configurable")
    (license license:expat)))

(define-public ruby-dry-container
  (package
    (name "ruby-dry-container")
    (version "0.7.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "dry-container" version))
        (sha256
         (base32
          "1npnhs3x2xcwwijpys5c8rpcvymrlab0y8806nr4h425ld5q4wd0"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-concurrent-ruby" ,ruby-concurrent-ruby)
       ("ruby-dry-configurable" ,ruby-dry-configurable)))
    (native-inputs
     `(
       ("ruby-rspec" ,ruby-rspec)
       ))
    (synopsis
      "A simple container intended for use as an IoC container")
    (description
      "This package provides a simple container intended for use as an IoC container")
    (home-page "https://github.com/dry-rb/dry-container")
    (license license:expat)))

(define-public ruby-concurrent-ruby
  (package
    (name "ruby-concurrent-ruby")
    (version "1.1.8")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "concurrent-ruby" version))
        (sha256
         (base32
          "0mr23wq0szj52xnj0zcn1k0c7j4v79wlwbijkpfcscqww3l6jlg3"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ;; TODO: Fix
    (synopsis
      "Modern concurrency tools including agents, futures, promises, thread pools, actors, supervisors, and more.
Inspired by Erlang, Clojure, Go, JavaScript, actors, and classic concurrency patterns.
")
    (description
      "Modern concurrency tools including agents, futures, promises, thread pools, actors, supervisors, and more.
Inspired by Erlang, Clojure, Go, JavaScript, actors, and classic concurrency patterns.
")
    (home-page "http://www.concurrent-ruby.com")
    (license license:expat)))

(define-public ruby-dry-types
  (package
    (name "ruby-dry-types")
    (version "1.5.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "dry-types" version))
        (sha256
         (base32
          "1gv0s396lzxlr882qgwi90462wn6f99wq6g0y204r94i3yfh1lvd"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-concurrent-ruby" ,ruby-concurrent-ruby)
       ("ruby-dry-container" ,ruby-dry-container)
       ("ruby-dry-core" ,ruby-dry-core)
       ("ruby-dry-inflector" ,ruby-dry-inflector)
       ("ruby-dry-logic" ,ruby-dry-logic)))
    (synopsis
      "Type system for Ruby supporting coercions, constraints and complex types like structs, value objects, enums etc")
    (description
      "Type system for Ruby supporting coercions, constraints and complex types like structs, value objects, enums etc")
    (home-page "https://dry-rb.org/gems/dry-types")
    (license license:expat)))

(define-public ruby-grape
  (package
    (name "ruby-grape")
    (version "1.5.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "grape" version))
        (sha256
         (base32
          "0adf01kihxbmh8q84r6zyfgdmpbyb0lwcar3fi8j6bl6qcsbgwqx"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile found
    (propagated-inputs
     `(("ruby-activesupport" ,ruby-activesupport)
       ("ruby-builder" ,ruby-builder)
       ("ruby-dry-types" ,ruby-dry-types)
       ("ruby-mustermann-grape" ,ruby-mustermann-grape)
       ("ruby-rack" ,ruby-rack)
       ("ruby-rack-accept" ,ruby-rack-accept)))
    (synopsis
      "A Ruby framework for rapid API development with great conventions.")
    (description
      "This package provides a Ruby framework for rapid API development with great conventions.")
    (home-page "https://github.com/ruby-grape/grape")
    (license license:expat)))

(define-public ruby-m
  (package
    (name "ruby-m")
    (version "1.5.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "m" version))
        (sha256
         (base32
          "15jnbpl7b08im4g42ambc850w01lmc49k1z4438ipj83xsj5x32w"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; needs pygments
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-source
           (lambda _
             (substitute* "Gemfile.lock"
               (("\\(.*\\)") ""))
             #t)))))
    (propagated-inputs
     `(("ruby-method-source" ,ruby-method-source)
       ("ruby-rake" ,ruby-rake)))
    (native-inputs
     `(("ruby-activesupport" ,ruby-activesupport)
       ("ruby-allocation-stats" ,ruby-allocation-stats)
       ("ruby-appraisal" ,ruby-appraisal)
       ("ruby-benchmark-ips" ,ruby-benchmark-ips)
       ("ruby-coveralls" ,ruby-coveralls)
       ("ruby-rdiscount" ,ruby-rdiscount)
       ("ruby-rocco" ,ruby-rocco)
       ("ruby-simplecov" ,ruby-simplecov)))
    (synopsis
      "Run test/unit tests by line number. Metal!")
    (description
      "Run test/unit tests by line number.  Metal!")
    (home-page "https://github.com/qrush/m")
    (license #f)))

(define-public ruby-allocation-stats
  (package
    (name "ruby-allocation-stats")
    (version "0.1.5")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "allocation_stats" version))
        (sha256
         (base32
          "00xrlbprgnval73s0na9365zd6qapr260cgqww4d7l3ir0wb56yb"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; TODO: fix tests
       #:test-target "spec"))
    (native-inputs
     `(
       ("ruby-pry" ,ruby-pry)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-simplecov" ,ruby-simplecov)
       ("ruby-yajl-ruby" ,ruby-yajl-ruby)
       ("ruby-yard" ,ruby-yard)
       ))
    (synopsis
      "Tooling for tracing object allocations in Ruby 2.1")
    (description
      "Tooling for tracing object allocations in Ruby 2.1")
    (home-page "https://github.com/srawlins/allocation_stats")
    (license license:asl2.0)))

(define-public ruby-rdiscount
  (package
    (name "ruby-rdiscount")
    (version "2.2.0.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "rdiscount" version))
        (sha256
         (base32
          "16srf8cr8ynlafyh6ls654b9a3bqgai8n3y86zzv9mcpvlk6k27g"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; TODO: figure this out later
    (synopsis
      "Fast Implementation of Gruber's Markdown in C")
    (description
      "Fast Implementation of Gruber's Markdown in C")
    (home-page "http://dafoster.net/projects/rdiscount/")
    (license license:bsd-3)))

(define-public ruby-fakeweb
  (package
    (name "ruby-fakeweb")
    (version "1.3.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "fakeweb" version))
        (sha256
         (base32
          "1a09z9nb369bvwpghncgd5y4f95lh28w0q258srh02h22fz9dj8y"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; File does not exist: samuel/net_http
    (native-inputs
     `(
       ;("ruby-jeweler" ,ruby-jeweler)
       ("ruby-mocha" ,ruby-mocha)
       ;("ruby-rcov" ,ruby-rcov)
       ("ruby-sdoc" ,ruby-sdoc)
       ))
    (synopsis
      "FakeWeb is a helper for faking web requests in Ruby. It works at a global level, without modifying code or writing extensive stubs.")
    (description
      "FakeWeb is a helper for faking web requests in Ruby.  It works at a global level, without modifying code or writing extensive stubs.")
    (home-page "http://github.com/chrisk/fakeweb")
    (license #f)))

(define-public ruby-simple-oauth
  (package
    (name "ruby-simple-oauth")
    (version "0.3.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "simple_oauth" version))
        (sha256
         (base32
          "0dw9ii6m7wckml100xhjc6vxpjcry174lbi9jz5v7ibjr3i94y8l"))))
    (build-system ruby-build-system)
    (native-inputs
     `(
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-yardstick" ,ruby-yardstick)
       ))
    (synopsis "Build and verify OAuth headers")
    (description
      "Simply builds and verifies OAuth headers")
    (home-page "https://github.com/laserlemon/simple_oauth")
    (license license:expat)))

(define-public ruby-naught
  (package
    (name "ruby-naught")
    (version "1.1.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "naught" version))
        (sha256
         (base32
          "1wwjx35zgbc0nplp8a866iafk4zsrbhwwz4pav5gydr2wm26nksg"))))
    (build-system ruby-build-system)
    (arguments
     `(#:test-target "default"))
    (native-inputs
     `(("ruby-coveralls" ,ruby-coveralls)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-simplecov" ,ruby-simplecov)))
    (synopsis "Toolkit for building Null Objects")
    (description "Naught is a toolkit for building Null Objects.")
    (home-page "https://github.com/avdi/naught")
    (license license:expat)))

(define-public ruby-memoizable
  (package
    (name "ruby-memoizable")
    (version "0.4.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "memoizable" version))
        (sha256
         (base32
          "0v42bvghsvfpzybfazl14qhkrjvx0xlmxz0wwqc960ga1wld5x5c"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-thread-safe" ,ruby-thread-safe)))
    (native-inputs
     `(("ruby-coveralls" ,ruby-coveralls)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-simplecov" ,ruby-simplecov)))
    (synopsis "Memoize method return values")
    (description "Memoize method return values")
    (home-page "https://github.com/dkubb/memoizable")
    (license license:expat)))

(define-public ruby-ffi-compiler
  (package
    (name "ruby-ffi-compiler")
    (version "1.0.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "ffi-compiler" version))
        (sha256
         (base32
          "0c2caqm9wqnbidcb8dj4wd3s902z15qmgxplwyfyqbwa0ydki7q1"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; LoadError: cannot load such file -- rubygems/tasks
    (propagated-inputs
     `(("ruby-ffi" ,ruby-ffi)
       ("ruby-rake" ,ruby-rake)))
    (synopsis "Ruby FFI library")
    (description "Ruby FFI library")
    (home-page "http://wiki.github.com/ffi/ffi")
    (license license:asl2.0)))

(define-public ruby-http-parser
  (package
    (name "ruby-http-parser")
    (version "1.2.3")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "http-parser" version))
        (sha256
         (base32
          "18qqvckvqjffh88hfib6c8pl9qwk9gp89w89hl3f2s1x8hgyqka1"))))
    (build-system ruby-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (add-before 'build 'pre-build
           (lambda _
             (invoke "rake" "compile"))))))
    (propagated-inputs
     `(("ruby-ffi-compiler" ,ruby-ffi-compiler)))
    (native-inputs
     `(("ruby-rspec" ,ruby-rspec)))
    (synopsis "Http parser for Ruby")
    (description
      "    A super fast http parser for ruby.
    Cross platform and multiple ruby implementation support thanks to ffi.
")
    (home-page "https://github.com/cotag/http-parser")
    (license license:expat)))

(define-public ruby-http-form-data
  (package
    (name "ruby-http-form-data")
    (version "2.3.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "http-form_data" version))
        (sha256
         (base32
          "1wx591jdhy84901pklh1n9sgh74gnvq1qyqxwchni1yrc49ynknc"))))
    (build-system ruby-build-system)
    (arguments
     `(#:test-target "default"))
    (native-inputs
     `(("ruby-coveralls" ,ruby-coveralls)
       ("ruby-guard" ,ruby-guard)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-simplecov" ,ruby-simplecov)))
    (synopsis
      "Utility-belt to build form data request bodies. Provides support for `application/x-www-form-urlencoded` and `multipart/form-data` types.")
    (description
      "Utility-belt to build form data request bodies.  Provides support for `application/x-www-form-urlencoded` and `multipart/form-data` types.")
    (home-page "https://github.com/httprb/form_data.rb")
    (license license:expat)))

(define-public ruby-http
  (package
    (name "ruby-http")
    (version "4.4.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "http" version))
        (sha256
         (base32
          "0z8vmvnkrllkpzsxi94284di9r63g9v561a16an35izwak8g245y"))))
    (build-system ruby-build-system)
    (arguments
     `(#:test-target "default"
       ;; A bunch of tests require network access. Should we borrow Debain's patches?
       #:tests? #f))
    (propagated-inputs
     `(("ruby-addressable" ,ruby-addressable)
       ("ruby-http-cookie" ,ruby-http-cookie)
       ("ruby-http-form-data" ,ruby-http-form-data)
       ("ruby-http-parser" ,ruby-http-parser)))
    (native-inputs
     `(("ruby-certificate-authority" ,ruby-certificate-authority)
       ("ruby-coveralls" ,ruby-coveralls)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rspec-its" ,ruby-rspec-its)
       ("ruby-rubocop" ,ruby-rubocop)
       ("ruby-simplecov" ,ruby-simplecov)
       ("ruby-yardstick" ,ruby-yardstick)))
    (synopsis "Client library for making requests from Ruby")
    (description "This package provides a client library for making requests
from Ruby.  It uses a simple method chaining system for building requests,
similar to Python's Requests.")
    (home-page "https://github.com/httprb/http")
    (license license:expat)))

(define-public ruby-equalizer
  (package
    (name "ruby-equalizer")
    (version "0.0.11")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "equalizer" version))
        (sha256
         (base32
          "1kjmx3fygx8njxfrwcmn7clfhjhb6bvv3scy2lyyi0wqyi3brra4"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; Prevent cycle with ruby-devtools.
    (synopsis
      "Module to define equality, equivalence and inspection methods")
    (description
      "Module to define equality, equivalence and inspection methods")
    (home-page "https://github.com/dkubb/equalizer")
    (license license:expat)))

(define-public ruby-buftok
  (package
    (name "ruby-buftok")
    (version "0.2.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "buftok" version))
        (sha256
         (base32
          "1rzsy1vy50v55x9z0nivf23y0r9jkmq6i130xa75pq9i8qrn1mxs"))))
    (build-system ruby-build-system)
    (synopsis
      "BufferedTokenizer extracts token delimited entities from a sequence of arbitrary inputs")
    (description
      "BufferedTokenizer extracts token delimited entities from a sequence of arbitrary inputs")
    (home-page "https://github.com/sferik/buftok")
    (license license:expat)))

(define-public ruby-twitter
  (package
    (name "ruby-twitter")
    (version "7.0.0")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/sferik/twitter")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
          "057d3wg3850r7xyhb5xv8xgxv7qra31ic0m317mwi2n5w1p4n480"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-addressable" ,ruby-addressable)
       ("ruby-buftok" ,ruby-buftok)
       ("ruby-equalizer" ,ruby-equalizer)
       ("ruby-http" ,ruby-http)
       ("ruby-http-form-data" ,ruby-http-form-data)
       ("ruby-http-parser.rb" ,ruby-http-parser.rb)
       ("ruby-memoizable" ,ruby-memoizable)
       ("ruby-multipart-post" ,ruby-multipart-post)
       ("ruby-naught" ,ruby-naught)
       ("ruby-simple-oauth" ,ruby-simple-oauth)))
    (native-inputs
     `(("ruby-coveralls" ,ruby-coveralls)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rubocop" ,ruby-rubocop)
       ("ruby-simplecov" ,ruby-simplecov)
       ("ruby-timecop" ,ruby-timecop)
       ("ruby-webmock" ,ruby-webmock)
       ("ruby-yard" ,ruby-yard)
       ("ruby-yardstick" ,ruby-yardstick)))
    (synopsis "Ruby interface to the Twitter API")
    (description "This package provides a Ruby interface to the Twitter API.")
    (home-page "https://sferik.github.io/twitter/")
    (license license:expat)))

(define-public ruby-yardstick
  (package
    (name "ruby-yardstick")
    (version "0.9.9")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "yardstick" version))
        (sha256
         (base32
          "0vn0br8x0n7b9i2raz79g480cn711zichs8rvijb3h1pk9m1d6n3"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; Prevent cycle with ruby-devtools.
    (propagated-inputs
     `(("ruby-yard" ,ruby-yard)))
    (synopsis "Measure YARD documentation coverage")
    (description
      "Measure YARD documentation coverage")
    (home-page "https://github.com/dkubb/yardstick")
    (license license:expat)))

(define-public ruby-psych
  (package
    (name "ruby-psych")
    (version "3.3.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "psych" version))
        (sha256
         (base32
          "0r8rd9q4g6wda6k2bvsgpwnn9wbaqglb843bm4f1q6xfjkhs5h0l"))))
    (build-system ruby-build-system)
    (synopsis
      "Psych is a YAML parser and emitter. Psych leverages libyaml[https://pyyaml.org/wiki/LibYAML]
for its YAML parsing and emitting capabilities. In addition to wrapping libyaml,
Psych also knows how to serialize and de-serialize most Ruby objects to and from the YAML format.
")
    (description
      "Psych is a YAML parser and emitter.  Psych leverages libyaml[https://pyyaml.org/wiki/LibYAML]
for its YAML parsing and emitting capabilities.  In addition to wrapping libyaml,
Psych also knows how to serialize and de-serialize most Ruby objects to and from the YAML format.
")
    (home-page "https://github.com/ruby/psych")
    (license license:expat)))

(define-public ruby-kwalify
  (package
    (name "ruby-kwalify")
    (version "0.7.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "kwalify" version))
        (sha256
         (base32
          "1ngxg3ysq5vip9dn3d32ajc7ly61kdin86hfycm1hkrcvkkn1vjf"))))
    (build-system ruby-build-system)
    (synopsis
      "   Kwalify is a parser, schema validator, and data binding tool for YAML and JSON.
")
    (description
      "   Kwalify is a parser, schema validator, and data binding tool for YAML and JSON.
")
    (home-page "http://www.kuwata-lab.com/kwalify/")
    (license #f)))

(define-public ruby-reek
  (package
    (name "ruby-reek")
    (version "6.0.3")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "reek" version))
        (sha256
         (base32
          "1zlfvj1dh064y119sfz9w3rkj3d9qkwm1k6dkcjymr6cwj6cqqp2"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-kwalify" ,ruby-kwalify)
       ("ruby-parser" ,ruby-parser)
       ("ruby-psych" ,ruby-psych)
       ("ruby-rainbow" ,ruby-rainbow)))
    (synopsis
      "Reek is a tool that examines Ruby classes, modules and methods and reports any code smells it finds.")
    (description
      "Reek is a tool that examines Ruby classes, modules and methods and reports any code smells it finds.")
    (home-page "https://github.com/troessner/reek")
    (license license:expat)))

(define-public ruby-procto
  (package
    (name "ruby-procto")
    (version "0.0.3")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "procto" version))
        (sha256
         (base32
          "13imvg1x50rz3r0yyfbhxwv72lbf7q28qx9l9nfbb91h2n9ch58c"))))
    (build-system ruby-build-system)
    (synopsis
      "Turns your object into a method object")
    (description
      "Turns your object into a method object")
    (home-page "https://github.com/snusnu/procto")
    (license license:expat)))

(define-public ruby-flog
  (package
    (name "ruby-flog")
    (version "4.6.4")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "flog" version))
        (sha256
         (base32
          "0qy7s5q450wbc78av8h0w8inrdz46vp4rqnm5ikpsnh7dilh7amm"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-path-expander" ,ruby-path-expander)
       ("ruby-ruby-parser" ,ruby-ruby-parser)
       ("ruby-sexp-processor" ,ruby-sexp-processor)))
    (synopsis
      "Flog reports the most tortured code in an easy to read pain
report. The higher the score, the more pain the code is in.")
    (description
      "Flog reports the most tortured code in an easy to read pain
report.  The higher the score, the more pain the code is in.")
    (home-page "http://ruby.sadi.st/")
    (license license:expat)))

(define-public ruby-path-expander
  (package
    (name "ruby-path-expander")
    (version "1.1.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "path_expander" version))
        (sha256
         (base32
          "1l40n8i959c8bk5m9cfs4m75h2cq01wjwhahnkw7jxgicpva30gv"))))
    (build-system ruby-build-system)
    (synopsis
      "PathExpander helps pre-process command-line arguments expanding
directories into their constituent files. It further helps by
providing additional mechanisms to make specifying subsets easier
with path subtraction and allowing for command-line arguments to be
saved in a file.

NOTE: this is NOT an options processor. It is a path processor
(basically everything else besides options). It does provide a
mechanism for pre-filtering cmdline options, but not with the intent
of actually processing them in PathExpander. Use OptionParser to
deal with options either before or after passing ARGV through
PathExpander.")
    (description
      "PathExpander helps pre-process command-line arguments expanding
directories into their constituent files.  It further helps by
providing additional mechanisms to make specifying subsets easier
with path subtraction and allowing for command-line arguments to be
saved in a file.

NOTE: this is NOT an options processor.  It is a path processor
(basically everything else besides options).  It does provide a
mechanism for pre-filtering cmdline options, but not with the intent
of actually processing them in PathExpander.  Use OptionParser to
deal with options either before or after passing ARGV through
PathExpander.")
    (home-page "https://github.com/seattlerb/path_expander")
    (license license:expat)))

(define-public ruby-flay
  (package
    (name "ruby-flay")
    (version "2.12.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "flay" version))
        (sha256
         (base32
          "1my4ga8a8wsqb4nqbf31gvml64ngr66r0zim4mx2kvi76zygczv7"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-erubis" ,ruby-erubis)
       ("ruby-path-expander" ,ruby-path-expander)
       ("ruby-ruby-parser" ,ruby-ruby-parser)
       ("ruby-sexp-processor" ,ruby-sexp-processor)))
    (synopsis
      "Flay analyzes code for structural similarities. Differences in literal
values, variable, class, method names, whitespace, programming style,
braces vs do/end, etc are all ignored. Making this totally rad.")
    (description
      "Flay analyzes code for structural similarities.  Differences in literal
values, variable, class, method names, whitespace, programming style,
braces vs do/end, etc are all ignored.  Making this totally rad.")
    (home-page "http://ruby.sadi.st/")
    (license license:expat)))

(define-public ruby-concord
  (package
    (name "ruby-concord")
    (version "0.1.6")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "concord" version))
        (sha256
         (base32
          "1vznyzcd3z7wiwjfgr941nq405kd7zm5vjb3sv2mzbbrcla9qkhq"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-adamantium" ,ruby-adamantium)
       ("ruby-equalizer" ,ruby-equalizer)))
    (synopsis "Helper for object composition")
    (description "Helper for object composition")
    (home-page "https://github.com/mbj/concord")
    (license license:expat)))

(define-public ruby-anima
  (package
    (name "ruby-anima")
    (version "0.3.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "anima" version))
        (sha256
         (base32
          "007wrc8px9ql4nqp34w0ffb9nj2nrbrcxvy036ng28bpbig7fzs6"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-abstract-type" ,ruby-abstract-type)
       ("ruby-adamantium" ,ruby-adamantium)
       ("ruby-equalizer" ,ruby-equalizer)))
    (synopsis
      "Initialize object attributes via attributes hash")
    (description
      "Initialize object attributes via attributes hash")
    (home-page "http://github.com/mbj/anima")
    (license license:expat)))

(define-public ruby-ice-nine
  (package
    (name "ruby-ice-nine")
    (version "0.11.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "ice_nine" version))
        (sha256
         (base32
          "1nv35qg1rps9fsis28hz2cq2fx1i96795f91q4nmkm934xynll2x"))))
    (build-system ruby-build-system)
    (synopsis "Deep Freeze Ruby Objects")
    (description "Deep Freeze Ruby Objects")
    (home-page "https://github.com/dkubb/ice_nine")
    (license license:expat)))

(define-public ruby-adamantium
  (package
    (name "ruby-adamantium")
    (version "0.2.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "adamantium" version))
        (sha256
         (base32
          "0165r2ikgfwv2rm8dzyijkp74fvg0ni72hpdx8ay2v7cj08dqyak"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-ice-nine" ,ruby-ice-nine)
       ("ruby-memoizable" ,ruby-memoizable)))
    (synopsis "Immutable extensions to objects")
    (description "Immutable extensions to objects")
    (home-page "https://github.com/dkubb/adamantium")
    (license license:expat)))

(define-public ruby-abstract-type
  (package
    (name "ruby-abstract-type")
    (version "0.0.7")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "abstract_type" version))
        (sha256
         (base32
          "09330cmhrc2wmfhdj9zzg82sv6cdhm3qgdkva5ni5xfjril2pf14"))))
    (build-system ruby-build-system)
    (synopsis
      "Module to declare abstract classes and methods")
    (description
      "Module to declare abstract classes and methods")
    (home-page "https://github.com/dkubb/abstract_type")
    (license license:expat)))

(define-public ruby-devtools
  (package
    (name "ruby-devtools")
    (version "0.1.26")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "devtools" version))
        (sha256
         (base32
          "08c8j2zcq9hhxpz9wsyy9v8mfs4d4smyagi0qr398w1qryb6w4m0"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-abstract-type" ,ruby-abstract-type)
       ("ruby-adamantium" ,ruby-adamantium)
       ("ruby-anima" ,ruby-anima)
       ("ruby-concord" ,ruby-concord)
       ("ruby-flay" ,ruby-flay)
       ("ruby-flog" ,ruby-flog)
       ("ruby-procto" ,ruby-procto)
       ("ruby-rake" ,ruby-rake)
       ("ruby-reek" ,ruby-reek)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rspec-core" ,ruby-rspec-core)
       ("ruby-rspec-its" ,ruby-rspec-its)
       ("ruby-rubocop" ,ruby-rubocop)
       ("ruby-simplecov" ,ruby-simplecov)
       ("ruby-yard" ,ruby-yard)
       ("ruby-yardstick" ,ruby-yardstick)))
    (synopsis "A metagem wrapping development tools")
    (description
      "This package provides a metagem wrapping development tools")
    (home-page "https://github.com/rom-rb/devtools")
    (license license:expat)))

(define-public ruby-certificate-authority
  (package
    (name "ruby-certificate-authority")
    (version "1.0.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "certificate_authority" version))
        (sha256
         (base32
          "1d4j37i40l76pdkxx9964f58d83fjv82x3c0sykrpiixcmjcax44"))))
    (build-system ruby-build-system)
    (arguments
     `(#:test-target "spec"
       ;; An error occurred while loading spec_helper.
       ;; Failure/Error: return gem_original_require(path)
       #:tests? #f))
    (native-inputs
     `(
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rubocop" ,ruby-rubocop)
       ))
    (synopsis
      "Ruby gem for managing the core functions outlined in RFC-3280 for PKI")
    (description
      "Ruby gem for managing the core functions outlined in RFC-3280 for PKI")
    (home-page "https://github.com/cchandler/certificate_authority")
    (license license:expat)))

(define-public ruby-msgpack
  (package
    (name "ruby-msgpack")
    (version "1.4.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "msgpack" version))
        (sha256
         (base32
          "06iajjyhx0rvpn4yr3h1hc4w4w3k59bdmfhxnjzzh76wsrdxxrc6"))))
    (build-system ruby-build-system)
    (arguments
     `(#:test-target "default"
       #:phases
       (modify-phases %standard-phases
         (add-before 'install 'install-fake-gem
           (lambda* (#:key outputs #:allow-other-keys)
             (let ((target (string-append (assoc-ref outputs "out") "/lib/ruby/vendor_ruby/cache/./pkg/msgpack-" ,version ".gem")))
               (mkdir-p (dirname target))
               (with-output-to-file target
                 (lambda _ ""))
               #t))))
       ))
    (native-inputs
     `(
       ("ruby-rake-compiler" ,ruby-rake-compiler)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-yard" ,ruby-yard)
       ))
    (synopsis
      "MessagePack is a binary-based efficient object serialization library. It enables to exchange structured objects between many languages like JSON. But unlike JSON, it is very fast and small.")
    (description
      "MessagePack is a binary-based efficient object serialization library.  It enables to exchange structured objects between many languages like JSON.  But unlike JSON, it is very fast and small.")
    (home-page "http://msgpack.org/")
    (license license:asl2.0)))

(define-public ruby-bootsnap
  (package
    (name "ruby-bootsnap")
    (version "1.7.2")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/Shopify/bootsnap")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
          "14l0r074kpy9pwzs6zbgq3zpx32mpk4905k23v0znqgkmrb6s5bm"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; can't find rake-compiler
       #:phases
       (modify-phases %standard-phases
         (replace 'replace-git-ls-files
           (lambda _
             (substitute* "bootsnap.gemspec"
               (("git ls-files -z ext lib")
                "find ext lib -type f -print0 | sort -z"))
             #t)))))
    (propagated-inputs
     `(("ruby-msgpack" ,ruby-msgpack)))
    (native-inputs
     `(("ruby-minitest" ,ruby-minitest)
       ("ruby-mocha" ,ruby-mocha)
       ("ruby-rake" ,ruby-rake)
       ("ruby-rake-compiler" ,ruby-rake-compiler)))
    (synopsis "Boot large ruby/rails apps faster")
    (description "Boot large ruby/rails apps faster")
    (home-page "https://github.com/Shopify/bootsnap")
    (license license:expat)))

(define-public ruby-actionview-precompiler
  (package
    (name "ruby-actionview-precompiler")
    (version "0.2.3")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/jhawthorn/actionview_precompiler")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
          "0hyvzhyx3bmvnmmj247vyfznps835d0zmi3xb6y6s4v570d8mrf0"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; tests expect ruby-actionview >=6.0.a
       #:phases
       (modify-phases %standard-phases
         (add-before 'build 'delete-gemfile-lock
           (lambda _
             (delete-file "Gemfile.lock")
             #t)))))
    (propagated-inputs
     `(("ruby-actionview" ,ruby-actionview)))
    (native-inputs
     `(("ruby-minitest" ,ruby-minitest)
       ("ruby-pry" ,ruby-pry)))
    (synopsis
      "Parses templates for render calls and uses them to precompile")
    (description
      "Parses templates for render calls and uses them to precompile")
    (home-page "https://github.com/jhawthorn/actionview_precompiler")
    (license license:expat)))

(define-public ruby-rocco
  (package
    (name "ruby-rocco")
    (version "0.8.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "rocco" version))
        (sha256
         (base32
          "0z3wnk8848wphrzyb61adl1jbfjlsqnzkayp2m0qmisg566352l1"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; needs pygments
    (propagated-inputs
     `(("ruby-mustache" ,ruby-mustache)
       ;; pygments
       ("ruby-redcarpet" ,ruby-redcarpet)))
    (synopsis "Docco in Ruby")
    (description "Docco in Ruby")
    (home-page "https://rtomayko.github.com/rocco/")
    (license license:expat)))

(define-public ruby-bundler
  (package
    (name "ruby-bundler")
    (version "2.2.11")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "bundler" version))
        (sha256
         (base32
          "1izx6wsjdm6mnbxazgz1z5qbhwrrisbq0np2nmx4ij6lrqjy18jf"))))
    (build-system ruby-build-system)
    (synopsis
      "Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably")
    (description
      "Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably")
    (home-page "https://bundler.io/")
    (license license:expat)))

(define-public ruby-appraisal
  (package
    (name "ruby-appraisal")
    (version "2.3.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "appraisal" version))
        (sha256
         (base32
          "0j092f2zfgb6afimidgspzqg4iw6n4mrs2zp8hhs2m2giav4mkrn"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; Tests require activesupport, cycle with ruby-m
    (propagated-inputs
     `(("bundler" ,bundler)
       ("ruby-rake" ,ruby-rake)
       ("ruby-thor" ,ruby-thor)))
    (synopsis
      "Appraisal integrates with bundler and rake to test your library against different versions of dependencies in repeatable scenarios called \"appraisals.\"")
    (description
      "Appraisal integrates with bundler and rake to test your library against different versions of dependencies in repeatable scenarios called \"appraisals.\"")
    (home-page
      "http://github.com/thoughtbot/appraisal")
    (license license:expat)))

(define-public ruby-http-accept-language
  (package
    (name "ruby-http-accept-language")
    (version "2.1.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "http_accept_language" version))
        (sha256
         (base32
          "0d0nlfz9vm4jr1l6q0chx4rp2hrnrfbx3gadc1dz930lbbaz0hq0"))))
    (build-system ruby-build-system)
    (arguments
     `(#:test-target "spec"
       #:phases
       (modify-phases %standard-phases
         (add-before 'check 'pre-check
           (lambda _
             (setenv "HOME" (getcwd))
             (substitute* "cucumber.yml"
               (("~@") "'not @'"))
             #t)))))
    (native-inputs
     `(
       ("ruby-aruba" ,ruby-aruba)
       ("ruby-cucumber" ,ruby-cucumber)
       ("ruby-guard-rspec" ,ruby-guard-rspec)
       ("ruby-rack" ,ruby-rack)
       ("ruby-rack-test" ,ruby-rack-test)
       ("ruby-rails" ,ruby-rails)
       ("ruby-rspec" ,ruby-rspec)
       ))
    (synopsis
      "Find out which locale the user preferes by reading the languages they specified in their browser")
    (description
      "Find out which locale the user preferes by reading the languages they specified in their browser")
    (home-page "https://github.com/iain/http_accept_language")
    (license license:expat)))

(define-public ruby-guard-compat
  (package
    (name "ruby-guard-compat")
    (version "1.2.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "guard-compat" version))
        (sha256
         (base32
          "1zj6sr1k8w59mmi27rsii0v8xyy2rnsi09nqvwpgj1q10yq1mlis"))))
    (build-system ruby-build-system)
    (arguments
     `(#:test-target "spec" ; not default, tests not upgraded for newer rubocop versions.
       #:phases
       (modify-phases %standard-phases
         (add-before 'check 'pre-check
           (lambda _
             (setenv "HOME" (getcwd))
             #t)))))
    (native-inputs
     `(
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rubocop" ,ruby-rubocop)
       ))
    (synopsis
      "Helps creating valid Guard plugins and testing them")
    (description
      "Helps creating valid Guard plugins and testing them")
    (home-page "https://github.com/guard/guard-compat")
    (license license:expat)))

(define-public ruby-guard-rspec
  (package
    (name "ruby-guard-rspec")
    (version "4.7.3")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "guard-rspec" version))
        (sha256
         (base32
          "1jkm5xp90gm4c5s51pmf92i9hc10gslwwic6mvk72g0yplya0yx4"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; Tests not included in release.
    (propagated-inputs
     `(("ruby-guard" ,ruby-guard)
       ("ruby-guard-compat" ,ruby-guard-compat)
       ("ruby-rspec" ,ruby-rspec)))
    (synopsis
      "Guard::RSpec automatically run your specs (much like autotest).")
    (description
      "Guard::RSpec automatically run your specs (much like autotest).")
    (home-page "https://github.com/guard/guard-rspec")
    (license license:expat)))

(define-public ruby-aws-sdk-kms
  (package
    (name "ruby-aws-sdk-kms")
    (version "1.42.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "aws-sdk-kms" version))
        (sha256
         (base32
          "00wgf83cdy6z77b2y0ld0aqiidfyldi71hx0z8b73gxjdlbwpq1i"))))
    (build-system ruby-build-system)
    (arguments `(#:tests? #f))  ; no tests
    (propagated-inputs
     `(("ruby-aws-sdk-core" ,ruby-aws-sdk-core)
       ("ruby-aws-sigv4" ,ruby-aws-sigv4)))
    (synopsis
      "Official AWS Ruby gem for AWS Key Management Service (KMS). This gem is part of the AWS SDK for Ruby.")
    (description
      "Official AWS Ruby gem for AWS Key Management Service (KMS).  This gem is part of the AWS SDK for Ruby.")
    (home-page "https://github.com/aws/aws-sdk-ruby")
    (license license:asl2.0)))

(define-public ruby-jmespath
  (package
    (name "ruby-jmespath")
    (version "1.4.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "jmespath" version))
        (sha256
         (base32
          "1d4wac0dcd1jf6kc57891glih9w57552zgqswgy74d1xhgnk0ngf"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; tests not included
    (synopsis "Implements JMESPath for Ruby")
    (description "Implements JMESPath for Ruby")
    (home-page "https://github.com/trevorrowe/jmespath.rb")
    (license license:asl2.0)))

(define-public ruby-aws-sigv4
  (package
    (name "ruby-aws-sigv4")
    (version "1.2.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "aws-sigv4" version))
        (sha256
         (base32
          "1ll9382c1x2hp750cilh01h1cycgyhdr4cmmgx23k94hyyb8chv5"))))
    (build-system ruby-build-system)
    (arguments `(#:tests? #f))  ; no tests
    (propagated-inputs
     `(("ruby-aws-eventstream" ,ruby-aws-eventstream)))
    (synopsis
      "Amazon Web Services Signature Version 4 signing library. Generates sigv4 signature for HTTP requests.")
    (description
      "Amazon Web Services Signature Version 4 signing library.  Generates sigv4 signature for HTTP requests.")
    (home-page "https://github.com/aws/aws-sdk-ruby")
    (license license:asl2.0)))

(define-public ruby-aws-partitions
  (package
    (name "ruby-aws-partitions")
    (version "1.428.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "aws-partitions" version))
        (sha256
         (base32
          "13rvpllihvpksf1jqwa2i5vbv2hhb34viaidw4rkxr3dyygkdpj8"))))
    (build-system ruby-build-system)
    (arguments `(#:tests? #f))  ; no tests
    (synopsis
      "Provides interfaces to enumerate AWS partitions, regions, and services.")
    (description
      "This package provides interfaces to enumerate AWS partitions, regions, and services.")
    (home-page "https://github.com/aws/aws-sdk-ruby")
    (license license:asl2.0)))

(define-public ruby-aws-eventstream
  (package
    (name "ruby-aws-eventstream")
    (version "1.1.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "aws-eventstream" version))
        (sha256
         (base32
          "0r0pn66yqrdkrfdin7qdim0yj2x75miyg4wp6mijckhzhrjb7cv5"))))
    (build-system ruby-build-system)
    (arguments `(#:tests? #f))  ; no tests
    (synopsis
      "Amazon Web Services event stream library. Decodes and encodes binary stream under `vnd.amazon.event-stream` content-type")
    (description
      "Amazon Web Services event stream library.  Decodes and encodes binary stream under `vnd.amazon.event-stream` content-type")
    (home-page "https://github.com/aws/aws-sdk-ruby")
    (license license:asl2.0)))

(define-public ruby-aws-sdk-core
  (package
    (name "ruby-aws-sdk-core")
    (version "3.112.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "aws-sdk-core" version))
        (sha256
         (base32
          "15lynby6r91p9hh5h92pg4jr8xgnjr52px5ax0p0wncdw4vz0skp"))))
    (build-system ruby-build-system)
    (arguments `(#:tests? #f))  ; no tests
    (propagated-inputs
     `(("ruby-aws-eventstream" ,ruby-aws-eventstream)
       ("ruby-aws-partitions" ,ruby-aws-partitions)
       ("ruby-aws-sigv4" ,ruby-aws-sigv4)
       ("ruby-jmespath" ,ruby-jmespath)))
    (synopsis
      "Provides API clients for AWS. This gem is part of the official AWS SDK for Ruby.")
    (description
      "This package provides API clients for AWS.  This gem is part of the official AWS SDK for Ruby.")
    (home-page "https://github.com/aws/aws-sdk-ruby")
    (license license:asl2.0)))

(define-public ruby-aws-sdk-s3
  (package
    (name "ruby-aws-sdk-s3")
    (version "1.88.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "aws-sdk-s3" version))
        (sha256
         (base32
          "01zlv2icx3m0pq94z9fcsp1r9ivdqhfpnpbrv63fpr6m7yqww24y"))))
    (build-system ruby-build-system)
    (arguments `(#:tests? #f))  ; no tests
    (propagated-inputs
     `(("ruby-aws-sdk-core" ,ruby-aws-sdk-core)
       ("ruby-aws-sdk-kms" ,ruby-aws-sdk-kms)
       ("ruby-aws-sigv4" ,ruby-aws-sigv4)))
    (synopsis
      "Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3). This gem is part of the AWS SDK for Ruby.")
    (description
      "Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).  This gem is part of the AWS SDK for Ruby.")
    (home-page "https://github.com/aws/aws-sdk-ruby")
    (license license:asl2.0)))

(define-public ruby-aws-sdk-sns
  (package
    (name "ruby-aws-sdk-sns")
    (version "1.38.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "aws-sdk-sns" version))
        (sha256
         (base32
          "0cqri14igfmcxlapbagg0nmy79zzg29awzybv51gl76m3mljbafb"))))
    (build-system ruby-build-system)
    (arguments `(#:tests? #f))  ; no tests
    (propagated-inputs
     `(("ruby-aws-sdk-core" ,ruby-aws-sdk-core)
       ("ruby-aws-sigv4" ,ruby-aws-sigv4)))
    (synopsis
      "Official AWS Ruby gem for Amazon Simple Notification Service (Amazon SNS). This gem is part of the AWS SDK for Ruby.")
    (description
      "Official AWS Ruby gem for Amazon Simple Notification Service (Amazon SNS).  This gem is part of the AWS SDK for Ruby.")
    (home-page "https://github.com/aws/aws-sdk-ruby")
    (license license:asl2.0)))

(define-public ruby-excon
  (package
    (name "ruby-excon")
    (version "0.79.0")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/excon/excon")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
          "0cm3rpkzdmq78ni7irw449qrya8wgb6hfzxjwkyq4pkalc21afqb"))))
    (build-system ruby-build-system)
    (arguments
     `(
       #:phases
       (modify-phases %standard-phases
         (replace 'replace-git-ls-files
           (lambda _
             (substitute* "excon.gemspec"
               (("git ls-files -- data/\\* lib/\\*")
                "find data lib -type f"))
             #t))
         (add-before 'check 'pre-check
           (lambda _
             ;; Don't demand the latest ruby-rack
             (substitute* "Gemfile"
               (("rack.*") "rack'\n"))
             ;; No network connection inside the container.
             (delete-file "tests/basic_tests.rb")
             #t))
         (replace 'check
           (lambda* (#:key tests? #:allow-other-keys)
             (when tests?
               (setenv "HOME" (getcwd))
               (invoke "bundle" "exec" "shindont")
               (invoke "bundle" "exec" "rake" "spec[progress]"))
             #t))
         )))
    (native-inputs
     `(
       ("ruby-activesupport" ,ruby-activesupport)
       ("ruby-delorean" ,ruby-delorean)
       ("ruby-eventmachine" ,ruby-eventmachine)
       ("ruby-open4" ,ruby-open4)
       ("ruby-puma" ,ruby-puma)
       ("ruby-rack" ,ruby-rack)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rubocop" ,ruby-rubocop)
       ("ruby-shindo" ,ruby-shindo)
       ("ruby-sinatra" ,ruby-sinatra)
       ("ruby-sinatra-contrib" ,ruby-sinatra-contrib)
       ("ruby-unicorn" ,ruby-unicorn)
       ))
    (synopsis "EXtended http(s) CONnections")
    (description "EXtended http(s) CONnections")
    (home-page "https://github.com/excon/excon")
    (license license:expat)))

(define-public ruby-chronic
  (package
    (name "ruby-chronic")
    (version "0.10.2")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "chronic" version))
        (sha256
         (base32
          "1hrdkn4g8x7dlzxwb1rfgr8kw3bp4ywg5l4y4i9c2g5cwv62yvvn"))))
    (build-system ruby-build-system)
    (synopsis
      "Chronic is a natural language date/time parser written in pure Ruby.")
    (description
      "Chronic is a natural language date/time parser written in pure Ruby.")
    (home-page "http://github.com/mojombo/chronic")
    (license license:expat)))

(define-public ruby-delorean
  (package
    (name "ruby-delorean")
    (version "2.1.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "delorean" version))
        (sha256
         (base32
          "0k39ix0a9rf4fd05ncml4h9r29dzwgzdbhp01gp67baid6adxwf4"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; tests not included
    (propagated-inputs
     `(("ruby-chronic" ,ruby-chronic)))
    (synopsis
      "Delorean lets you travel in time with Ruby by mocking Time.now")
    (description
      "Delorean lets you travel in time with Ruby by mocking Time.now")
    (home-page "http://github.com/bebanjo/delorean")
    (license license:expat)))

(define-public ruby-sinatra-contrib
  (package
    (name "ruby-sinatra-contrib")
    (version "2.0.8.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "sinatra-contrib" version))
        (sha256
         (base32
          "1mmrfm4pqh98f3irjpkvfpazhcx6q42bnx6bbms9dqvmck3mid28"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-backports" ,ruby-backports)
       ("ruby-multi-json" ,ruby-multi-json)
       ("ruby-mustermann" ,ruby-mustermann)
       ("ruby-rack-protection" ,ruby-rack-protection)
       ("ruby-sinatra" ,ruby-sinatra)
       ("ruby-tilt" ,ruby-tilt)))
    (native-inputs
     `(
       ("ruby-rspec" ,ruby-rspec)
       ))
    (synopsis "Collection of useful Sinatra extensions")
    (description
      "Collection of useful Sinatra extensions")
    (home-page "http://sinatrarb.com/contrib/")
    (license license:expat)))

(define-public ruby-raindrops
  (package
    (name "ruby-raindrops")
    (version "0.19.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "raindrops" version))
        (sha256
         (base32
          "0zjja00mzgx2lddb7qrn14k7qrnwhf4bpmnlqj78m1pfxh7svync"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; not clear how to run tests
       #:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda* (#:key tests? #:allow-other-keys)
             (when tests?
               (invoke "ruby" "setup.rb" "tests"))
             #t)))))
    (synopsis "real-time stats for preforking Rack servers")
    (description
      "raindrops is a real-time stats toolkit to show statistics for Rack HTTP
servers.  It is designed for preforking servers such as unicorn, but
should support any Rack HTTP server on platforms supporting POSIX shared
memory.  It may also be used as a generic scoreboard for sharing atomic
counters across multiple processes.")
    (home-page "https://yhbt.net/raindrops/")
    (license license:lgpl2.1+)))

(define-public ruby-kgio
  (package
    (name "ruby-kgio")
    (version "2.11.3")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "kgio" version))
        (sha256
         (base32
          "0ai6bzlvxbzpdl466p1qi4dlhx8ri2wcrp6x1l19y3yfs3a29rng"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; not clear how to run tests
       #:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda* (#:key tests? #:allow-other-keys)
             (when tests?
               (invoke "ruby" "setup.rb" "tests"))
             #t)))))
    (synopsis "kinder, gentler I/O for Ruby")
    (description
      "This is a legacy project, do not use it for new projects.  Ruby
2.3 and later should make this obsolete.  kgio provides
non-blocking I/O methods for Ruby without raising exceptions on
EAGAIN and EINPROGRESS.
")
    (home-page "https://yhbt.net/kgio/")
    (license #f)))

(define-public ruby-unicorn
  (package
    (name "ruby-unicorn")
    (version "5.8.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "unicorn" version))
        (sha256
         (base32
          "0ig48f4xhrssq5d11vkc41k7nj6pbv2jh1f8k5gfskfd469mcc2y"))))
    (build-system ruby-build-system)
    (propagated-inputs
     `(("ruby-kgio" ,ruby-kgio)
       ("ruby-raindrops" ,ruby-raindrops)))
    (synopsis
      "unicorn is an HTTP server for Rack applications designed to only serve
fast clients on low-latency, high-bandwidth connections and take
advantage of features in Unix/Unix-like kernels.  Slow clients should
only be served by placing a reverse proxy capable of fully buffering
both the the request and response in between unicorn and slow clients.")
    (description
      "unicorn is an HTTP server for Rack applications designed to only serve
fast clients on low-latency, high-bandwidth connections and take
advantage of features in Unix/Unix-like kernels.  Slow clients should
only be served by placing a reverse proxy capable of fully buffering
both the the request and response in between unicorn and slow clients.")
    (home-page "https://yhbt.net/unicorn/")
    (license (list #f #f))))

(define-public ruby-pry-rails
  (package
    (name "ruby-pry-rails")
    (version "0.3.9")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "pry-rails" version))
        (sha256
         (base32
          "1cf4ii53w2hdh7fn8vhqpzkymmchjbwij4l3m7s6fsxvb9bn51j6"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f      ; not clear what the test suite wants
       #:test-target "appraisal"    ; as per the Rakefile
       #:phases
       (modify-phases %standard-phases
         (add-before 'check 'pre-check
           (lambda _
             (setenv "HOME" (getcwd))
             #t)))))
    (propagated-inputs
     `(("ruby-pry" ,ruby-pry)))
    (native-inputs
     `(
       ("ruby-appraisal" ,ruby-appraisal)
       ("ruby-minitest" ,ruby-minitest)
       ))
    (synopsis "Use Pry as your rails console")
    (description "Use Pry as your rails console")
    (home-page "https://github.com/rweng/pry-rails")
    (license license:expat)))

(define-public ruby-r2
  (package
    (name "ruby-r2")
    (version "0.2.7")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "r2" version))
        (sha256
         (base32
          "0wk0p55zp3l96xy5ps28b33dn5z0jwsjl74bwfdn6z81pzjs5sfk"))))
    (build-system ruby-build-system)
    (arguments
     `(#:test-target "default"))
    (native-inputs
     `(
       ("ruby-rspec" ,ruby-rspec)
       ))
    (synopsis
      "CSS flipper for right-to-left processing. A Ruby port of https://github.com/ded/r2")
    (description
      "CSS flipper for right-to-left processing.  A Ruby port of https://github.com/ded/r2")
    (home-page "https://github.com/mzsanford/R2rb")
    (license #f)))

(define-public ruby-cbor
  (package
    (name "ruby-cbor")
    (version "0.5.9.6")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "cbor" version))
        (sha256
         (base32
          "0511idr8xps9625nh3kxr68sdy6l3xy2kcz7r57g47fxb1v18jj3"))))
    (build-system ruby-build-system)
    (arguments
     `(#:test-target "spec"))
    (native-inputs
     `(
       ("ruby-rake-compiler" ,ruby-rake-compiler)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-yard" ,ruby-yard)
       ))
    (synopsis
      "CBOR is a library for the CBOR binary object representation format, based on Sadayuki Furuhashi's MessagePack library.")
    (description
      "CBOR is a library for the CBOR binary object representation format, based on Sadayuki Furuhashi's MessagePack library.")
    (home-page "http://cbor.io/")
    (license #f)))

(define-public ruby-openssl
  (package
    (name "ruby-openssl")
    (version "2.2.0")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/ruby/openssl")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
          "01xigwxpwha9hj8r2synkl6c7xlhs02f27qv98a1b7cbhgqqs6n3"))))
    (build-system ruby-build-system)
    (inputs
     `(
       ("openssl" ,openssl)
       ))
    (native-inputs
     `(
       ("ruby-rake-compiler" ,ruby-rake-compiler)
       ))
    (synopsis "It wraps the OpenSSL library.")
    (description "It wraps the OpenSSL library.")
    (home-page "https://github.com/ruby/openssl")
    (license license:ruby)))

(define-public ruby-openssl-signature-algorithm
  (package
    (name "ruby-openssl-signature-algorithm")
    (version "1.1.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri
               "openssl-signature_algorithm"
               version))
        (sha256
         (base32
          "173p9agv45hj62fdgl9bzqr9f6xg7hi2sf5iyd3ahiwbv220x332"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; cannot load such file -- spec_helper
       #:test-target "spec" ; not default, don't care about rubocop output
       #:phases
       (modify-phases %standard-phases
         (add-before 'check 'pre-check
           (lambda _
             (setenv "HOME" (getcwd))
             #t)))))
    (propagated-inputs
     `(("ruby-openssl" ,ruby-openssl)))
    (native-inputs
     `(
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rubocop" ,ruby-rubocop)
       ))
    (synopsis
      "ECDSA, EdDSA, RSA-PSS and RSA-PKCS#1 algorithms for ruby")
    (description
      "ECDSA, EdDSA, RSA-PSS and RSA-PKCS#1 algorithms for ruby")
    (home-page "https://github.com/cedarcode/openssl-signature_algorithm")
    (license license:asl2.0)))

(define-public ruby-cose
  (package
    (name "ruby-cose")
    (version "1.2.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "cose" version))
        (sha256
         (base32
          "1gx239d2fracq9az74wfdwmp5zm7zpzkcgchwnv2ng33d8r33p3m"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; cannot load such file -- spec_helper
       #:test-target "spec" ; not default, don't care about rubocop output
       #:phases
       (modify-phases %standard-phases
         (add-before 'check 'pre-check
           (lambda _
             (setenv "HOME" (getcwd))
             #t)))))
    (propagated-inputs
     `(("ruby-cbor" ,ruby-cbor)
       ("ruby-openssl-signature-algorithm" ,ruby-openssl-signature-algorithm)))
    (native-inputs
     `(
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rubocop" ,ruby-rubocop)
       ("ruby-rubocop-performance" ,ruby-rubocop-performance)
       ))
    (synopsis
      "Ruby implementation of RFC 8152 CBOR Object Signing and Encryption (COSE)")
    (description
      "Ruby implementation of RFC 8152 CBOR Object Signing and Encryption (COSE)")
    (home-page "https://github.com/cedarcode/cose-ruby")
    (license license:expat)))

(define-public ruby-rtlit
  (package
    (name "ruby-rtlit")
    (version "0.0.5")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "rtlit" version))
        (sha256
         (base32
          "0srfh7cl95srjiwbyc9pmn3w739zlvyj89hyj0bm7g92zrsd27qm"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; tests don't want to run
    (native-inputs
     `(
       ("ruby-rake", ruby-rake)
       ))
    (synopsis
      "Converts CSS files from left-to-right to right-to-left")
    (description
      "Converts CSS files from left-to-right to right-to-left")
    (home-page "https://github.com/zohararad/rtlit")
    (license license:expat)))

(define-public ruby-test-prof
  (package
    (name "ruby-test-prof")
    (version "1.0.1")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/test-prof/test-prof")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
          "092q3m56843yrd94xby2a29vg8kca4lirgvqlkmdjyjckmi3qdzr"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; seems to need running database
       #:test-target "spec" ; not default, don't care about rubocop output
       ;; cannot load such file -- standard/cop/semantic_blocks
       ))
    (native-inputs
     `(
       ("ruby-activerecord" ,ruby-activerecord)
       ("ruby-fabrication" ,ruby-fabrication)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rubocop" ,ruby-rubocop)
       ("ruby-sqlite3" ,ruby-sqlite3-1.3)
       ))
    (synopsis
      "
    Ruby applications tests profiling tools.

    Contains tools to analyze factories usage, integrate with Ruby profilers,
    profile your examples using ActiveSupport notifications (if any) and
    statically analyze your code with custom RuboCop cops.
  ")
    (description
      "
    Ruby applications tests profiling tools.

    Contains tools to analyze factories usage, integrate with Ruby profilers,
    profile your examples using ActiveSupport notifications (if any) and
    statically analyze your code with custom RuboCop cops.
  ")
    (home-page "https://test-prof.evilmartians.io/")
    (license license:expat)))

(define-public ruby-fabrication
  (package
    (name "ruby-fabrication")
    (version "2.21.1")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "fabrication" version))
        (sha256
         (base32
          "1pdrl55xf76pbc5kjzp7diawxxvgbk2cm38532in6df823431n6z"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; TODO later
    (synopsis
      "Fabrication is an object generation framework for ActiveRecord, Mongoid, DataMapper, Sequel, or any other Ruby object.")
    (description
      "Fabrication is an object generation framework for ActiveRecord, Mongoid, DataMapper, Sequel, or any other Ruby object.")
    (home-page "http://fabricationgem.org")
    (license license:expat)))

(define-public ruby-ruby2-keywords
  (package
    (name "ruby-ruby2-keywords")
    (version "0.0.4")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
               (url "https://github.com/ruby/ruby2_keywords")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
         (base32
          "1fz81nw92cvpi1h99q1pvsnkdkpmp40jvvpkn1jnjbx9by04bw45"))))
    (build-system ruby-build-system)
    (arguments
     `(#:test-target "default"))
    (synopsis
      "Shim library for Module#ruby2_keywords")
    (description
      "Shim library for Module#ruby2_keywords")
    (home-page "https://github.com/ruby/ruby2_keywords")
    (license (list license:ruby license:bsd-2))))

(define-public ruby-mock-redis
  (package
    (name "ruby-mock-redis")
    (version "0.27.3")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "mock_redis" version))
        (sha256
         (base32
          "0fhwhp0w2n79k9ibmqhq09m88rp2jmr7dknx9ibn84wf7r8a3a8k"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f  ; tests need a running redis server.
       #:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda* (#:key tests? #:allow-other-keys)
             (when tests?
               (invoke "rspec"))
             #t)))))
    (propagated-inputs
     `(("ruby-ruby2-keywords" ,ruby-ruby2-keywords)))
    (native-inputs
     `(
       ("ruby-redis" ,ruby-redis)
       ("ruby-rspec" ,ruby-rspec)
       ("ruby-rspec-its" ,ruby-rspec-its)
       ("ruby-simplecov" ,ruby-simplecov)
       ("ruby-timecop" ,ruby-timecop)
       ))
    (synopsis
      "Instantiate one with `redis = MockRedis.new` and treat it like you would a normal Redis object. It supports all the usual Redis operations.")
    (description
      "Instantiate one with `redis = MockRedis.new` and treat it like you would a normal Redis object.  It supports all the usual Redis operations.")
    (home-page "https://github.com/sds/mock_redis")
    (license license:expat)))

(define-public ruby-certified
  (package
    (name "ruby-certified")
    (version "1.0.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "certified" version))
        (sha256
         (base32
          "1706p6p0a8adyvd943af2a3093xakvislgffw3v9dvp7j07dyk5a"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no rakefile or tests
    (synopsis
      "Ensure net/https uses OpenSSL::SSL::VERIFY_PEER to verify SSL certificates and provides certificate bundle in case OpenSSL cannot find one")
    (description
      "Ensure net/https uses OpenSSL::SSL::VERIFY_PEER to verify SSL certificates and provides certificate bundle in case OpenSSL cannot find one")
    (home-page "https://github.com/stevegraham/certified")
    (license license:expat)))

(define-public ruby-rspec-html-matchers
  (package
    (name "ruby-rspec-html-matchers")
    (version "0.9.4")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "rspec-html-matchers" version))
        (sha256
         (base32
          "0883rqv77n2wawnk5lp3la48l7pckyz8l013qddngzmksi5p1v3f"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no tests in gem release
    (propagated-inputs
     `(("ruby-nokogiri" ,ruby-nokogiri)
       ("ruby-rspec" ,ruby-rspec)))
    (synopsis
      "Nokogiri based 'have_tag' and 'with_tag' matchers for rspec 3. Does not depend on assert_select matcher, provides useful error messages.
")
    (description
      "Nokogiri based 'have_tag' and 'with_tag' matchers for rspec 3.  Does not depend on assert_select matcher, provides useful error messages.
")
    (home-page "https://github.com/kucaahbe/rspec-html-matchers")
    (license license:expat)))

(define-public ruby-rswag-specs
  (package
    (name "ruby-rswag-specs")
    (version "2.4.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "rswag-specs" version))
        (sha256
         (base32
          "1dma3j5vfjhyclg8y0gsp44vs4wn9chf4jgfhc9r6ws018xrbxzd"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))    ; no tests in Rakefile
    (propagated-inputs
     `(("ruby-activesupport" ,ruby-activesupport)
       ("ruby-json-schema" ,ruby-json-schema)
       ("ruby-railties" ,ruby-railties)))
    (synopsis
      "Simplify API integration testing with a succinct rspec DSL and generate OpenAPI specification files directly from your rspecs. More about the OpenAPI initiative here: http://spec.openapis.org/")
    (description
      "Simplify API integration testing with a succinct rspec DSL and generate OpenAPI specification files directly from your rspecs.  More about the OpenAPI initiative here: http://spec.openapis.org/")
    (home-page "https://github.com/rswag/rswag")
    (license license:expat)))