summaryrefslogblamecommitdiffstats
path: root/machinelearning.scm
blob: 6710bbf82de221fcfd57f8141d234a83253eaa44 (plain) (tree)
1
2
3
4
5
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
                                
                                                              
                                               
                                                


















                                                             
                                                 
                                                       
                                                          
                                                        

                                                     
                                               
                                                    


                                                 
                                                     




                                                         
                                               
                                        























































                                                                                            

                               
                                   



                                                     
                                                                                         
                                                      
                                                                

                                                                
                                                        
                                                            
                                                       









                                                                                          
 



































































































































































































































                                                                                                                                                                                           




















































































                                                                                                                                                                                                                                                     

                                              
                                                                     








                                                                                      
                                                                                   





                                                                                                   
                                                                                                      





                                                                             



















































































                                                                                                                                        



















                                                                                   
















                                                                                                           


                                                                                                                                                 
























































                                                                                                                              














                                                                                                                 


                                                                             
 
























































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
(define-module (machinelearning)
               #:use-module ((guix licenses) :prefix license:)
               #:use-module (gnu packages base)
               #:use-module (gnu packages bash)
               #:use-module (gnu packages check)
               #:use-module (gnu packages wxwidgets)
               #:use-module (gnu packages commencement)
               #:use-module (gnu packages crates-io)
               #:use-module (gnu packages golang)
               #:use-module (gnu packages golang-build)
               #:use-module (gnu packages golang-check)
               #:use-module (gnu packages golang-maths)
               #:use-module (gnu packages golang-compression)
               #:use-module (gnu packages golang-crypto)
               #:use-module (gnu packages gtk)
               #:use-module (gnu packages prometheus)
               #:use-module (gnu packages golang-web)
               #:use-module (gnu packages golang-xyz)
               #:use-module (gnu packages image)
               #:use-module (gnu packages llvm)
               #:use-module (gnu packages machine-learning)
               #:use-module (gnu packages maths)
               #:use-module (gnu packages opencl)
               #:use-module (gnu packages pkg-config)
               #:use-module (gnu packages protobuf)
               #:use-module (gnu packages python)
               #:use-module (gnu packages python-build)
               #:use-module (gnu packages version-control)
               #:use-module (gnu packages python-check)
               #:use-module (gnu packages python-crypto)
               #:use-module (gnu packages python-web)
               #:use-module (gnu packages python-xyz)
               #:use-module (gnu packages curl)
               #:use-module (gnu packages rust)
               #:use-module (gnu packages rust-apps)
               #:use-module (gnu packages vulkan)
               #:use-module (gnu packages tls)
               #:use-module (gnu packages)
               #:use-module (guix build utils)
               #:use-module (guix build-system cargo)
               #:use-module (guix build-system cmake)
               #:use-module (guix build-system gnu)
               #:use-module (guix build-system go)
               #:use-module (guix build-system pyproject)
               #:use-module (guix build-system python)
               #:use-module (guix download)
               #:use-module (guix gexp)
               #:use-module (guix git-download)
               #:use-module (guix packages)
               #:use-module (guix utils)
               )

(define-public poetry-plugin-export
               (package
                 (name "poetry-plugin-export")
                 (version "1.7.1")
                 (source
                   (origin
                     (method url-fetch)
                     (uri (pypi-uri "poetry_plugin_export" version))
                     (sha256
                       (base32 "0bp2640l7v9digjccj0wz086s1xa4hdbrcvdpa84544a46vcyqng"))))
                 (build-system pyproject-build-system)
                 (propagated-inputs (list python-poetry-core-1.9.0))
                 (home-page "https://python-poetry.org/")
                 (synopsis "Poetry plugin to export the dependencies to various formats")
                 (description "Poetry plugin to export the dependencies to various formats")
                 (license license:expat)))

(define-public python-poetry-core-1.9.0
               (package
                 (inherit python-poetry-core)
                 (name "python-poetry-core")
                 (version "1.9.0")
                 ))

(define-public poetry-1.8.2
               (package
                 (inherit poetry)
                 (name "poetry")
                 (version "1.8.2")
                 ))

(define-public poetry-1.3
               (package
                 (inherit poetry)
                 (name "poetry")
                 (version "1.3")
                 ))

(define-public python-installer
               (package
                 (name "python-installer")
                 (version "0.7.0")
                 (source
                   (origin
                     (method url-fetch)
                     (uri (pypi-uri "installer" version))
                     (sha256
                       (base32 "0cdnqh3a3amw8k4s1pzfjh0hpvzw4pczgl702s1b16r82qqkwvd2"))))
                 (build-system pyproject-build-system)
                 (inputs (list python-flit-core))
                 (home-page "")
                 (synopsis "A library for installing Python wheels.")
                 (description
                   "This package provides a library for installing Python wheels.")
                 (license #f)))
(define-public python-rclip
               (package
                 (name "rclip")
                 (version "1.10.2")
                 (source
                   (origin
                     (method url-fetch)
                     (uri (pypi-uri "rclip" version))
                     (sha256
                       (base32 "05cv5hp63x6ym12s1a5lb7najjyzrqk40rvmj8x2y32hxsf6ampn"))))
                 (build-system pyproject-build-system)
                 (native-inputs (list python-poetry-core-1.9.0))
                 (propagated-inputs (list python-open-clip-torch
                                          python-pillow
                                          python-requests
                                          python-pytorch
                                          python-torchvision
                                          python-tqdm))
                 (arguments
                   '( #:phases
                      (modify-phases %standard-phases
                                     (delete 'check)  ;#TODO: see why this is broke
                                     (delete 'sanity-check) ;TODO: Fix broken sanity-check
                                     )))
                 (home-page "https://github.com/yurijmikhalevich/rclip")
                 (synopsis "AI-Powered Command-Line Photo Search Tool")
                 (description "AI-Powered Command-Line Photo Search Tool")
                 (license license:expat)))


(define-public python-open-clip-torch
               (package
                 (name "python-open-clip-torch")
                 (version "2.24.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/mlfoundations/open_clip")
                            (commit (string-append "v" version))
                            ))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0mby632z2qpahb8pd8cmn14bz4w1q0cngz7s6rmx2qwfg2fxf1ms"))))
                 (build-system pyproject-build-system)
                 (inputs (list python-ftfy
                               python-huggingface-hub
                               python-protobuf
                               python-regex
                               python-sentencepiece
                               python-timm
                               python-pytorch
                               python-torchvision
                               python-tqdm
                               python-wheel
                               ))
                 (arguments
                   '( #:phases
                      (modify-phases %standard-phases
                                     (delete 'check) ;Networking required for checks, so disable them
                                     (delete 'sanity-check) ;TODO: Fix broken sanity-check
                                     )))
                 (home-page "https://github.com/mlfoundations/open_clip")
                 (synopsis "OpenCLIP")
                 (description "@code{OpenCLIP}")
                 (license license:expat)))

(define-public python-ftfy
               (package
                 (name "python-ftfy")
                 ;(version "6.2.0")
                 (version "5.5.1")
                 (source
                   (origin
                     (method url-fetch)
                     (uri (pypi-uri "ftfy" version))
                     (sha256
                       ;(base32 "1h3m9i1c2qp874fpg62gcp39yqdhc5mrsqd29ja9gvr5f0y18hjy"))))
                       (base32 "1ci6xrj4g01a97nymxpv9nj820nlmgzc4ybaz9k46i6bnxzpax7s"))))
                 (build-system pyproject-build-system)
                 (native-inputs (list poetry))
                 (propagated-inputs (list python-wcwidth))
                 (arguments
                   '( #:phases
                      (modify-phases %standard-phases
                                     (delete 'check)
                                     )))
                 (home-page "")
                 (synopsis "Fixes mojibake and other problems with Unicode, after the fact")
                 (description
                   "Fixes mojibake and other problems with Unicode, after the fact")
                 (license license:asl2.0)))

(define-public python-expecttest
               (package
                 (name "python-expecttest")
                 (version "0.2.1")
                 (source
                   (origin
                     (method url-fetch)
                     (uri (pypi-uri "expecttest" version))
                     (sha256
                       (base32 "1xbkpcp3477ccgr4ks16v0j22i7a939bs2rajvk0cigqlvw1qaz5"))))
                 (build-system pyproject-build-system)
                 (arguments
                   (list
                     #:phases #~(modify-phases %standard-phases (delete 'check))))
                 (native-inputs (list poetry))
                 (home-page "https://github.com/ezyang/expecttest")
                 (synopsis "")
                 (description "")
                 (license license:expat)))

(define-public python-timm
               (package
                 (name "python-timm")
                 (version "0.9.16")
                 (source
                   (origin
                     (method url-fetch)
                     (uri (pypi-uri "timm" version))
                     (sha256
                       (base32 "1rkif1mkgryirn78aw9rkwplf3hzfqbw3c0slwqxynnmfprm87l9"))))
                 (build-system pyproject-build-system)
                 (arguments
                   (list
                     #:phases
                     #~(modify-phases %standard-phases
                                      (delete 'check) ;takes FOREVER for some reason
                                      (delete 'sanity-check ;Crashes; #TODO: fix this
                                              ))))
                 (inputs (list python-huggingface-hub python-pyyaml
                               python-safetensors python-pytorch
                               python-torchvision python-pdm-backend

                               python-pytest python-pytest-timeout python-expecttest python-pytest-xdist))
                 (home-page "https://github.com/huggingface/pytorch-image-models")
                 (synopsis "PyTorch Image Models")
                 (description "@code{PyTorch} Image Models")
                 (license license:asl2.0)))

(define-public rust-memmap2-0.5
               (package
                 (name "rust-memmap2")
                 (version "0.5.0")
                 (source
                   (origin
                     (method url-fetch)
                     (uri (crate-uri "memmap2" version))
                     (file-name (string-append name "-" version ".tar.gz"))
                     (sha256
                       (base32 "0vp9pxd20gyq8196v73chxdw6gfxz3g4lkdkvffd5slgawds2is6"))))
                 (build-system cargo-build-system)
                 (arguments
                   `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
                                     ("rust-stable-deref-trait" ,rust-stable-deref-trait-1))
                     #:cargo-development-inputs (("rust-owning-ref" ,rust-owning-ref-0.4)
                                                 ("rust-tempdir" ,rust-tempdir-0.3))))
                 (home-page "https://github.com/RazrFalcon/memmap2-rs")
                 (synopsis "Cross-platform Rust API for memory-mapped file IO")
                 (description "Cross-platform Rust API for memory-mapped file IO")
                 (license (list license:expat license:asl2.0))))

(define-public rust-safetensors-0.4
               (package
                 (name "rust-safetensors")
                 (version "0.4.2")
                 (source
                   (origin
                     (method url-fetch)
                     (uri (crate-uri "safetensors" version))
                     (file-name (string-append name "-" version ".tar.gz"))
                     (sha256
                       (base32 "1vb9wsmsm7wfyvkl795wpc2iiwa3mx0vqhhym2q6yhrlzdmhx64d"))))
                 (build-system cargo-build-system)
                 (arguments
                   `(#:cargo-inputs (("rust-serde" ,rust-serde-1)
                                     ("rust-serde-json" ,rust-serde-json-1))
                     #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4)
                                                 ("rust-memmap2" ,rust-memmap2-0.5)
                                                 ("rust-proptest" ,rust-proptest-1))))
                 (home-page "https://github.com/huggingface/safetensors")
                 (synopsis
                   "Provides functions to read and write safetensors which aim to be safer than
                   their PyTorch counterpart.
                   The format is 8 bytes which is an unsized int, being the size of a JSON header,
                   the JSON header refers the `dtype` the `shape` and `data_offsets` which are the offsets
                   for the values in the rest of the file.
                   ")
                   (description
                     "This package provides functions to read and write safetensors which aim to be
                     safer than their @code{PyTorch} counterpart.  The format is 8 bytes which is an
                     unsized int, being the size of a JSON header, the JSON header refers the `dtype`
                     the `shape` and `data_offsets` which are the offsets for the values in the rest
                     of the file.")
                     (license license:asl2.0)))

(define-public python-safetensors
               (package
                 (name "python-safetensors")
                 (version "0.4.2")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/huggingface/safetensors.git")
                            (commit (string-append "v" version))
                            ))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "1gs0ivd5m95jyy6j1yqvm8pq068xsk405gv0nwq2821vr4ix9lw5"))))
                 (build-system cargo-build-system)
                 (arguments
                   (list
                     #:imported-modules `(,@%cargo-build-system-modules
                                           ,@%pyproject-build-system-modules)
                     #:modules '((guix build cargo-build-system)
                                 ((guix build pyproject-build-system) #:prefix py:)
                                 (guix build utils))
                     #:phases
                     #~(modify-phases %standard-phases
                                      (add-before 'configure 'get-safetensor-cargo
                                                  (lambda _
                                                    (copy-recursively "bindings/python/Cargo.toml" "./Cargo.toml")
                                                    (substitute* "./Cargo.toml" ( ("name = \"safetensors_rust\"") "name = \"safetensors_rust\"\npath = \"bindings/python//src/lib.rs\"" ) )
                                                    (substitute* "./Cargo.toml" ( ("path = \"../../safetensors\"") "path = \"safetensors\"" ) )
                                                    ))
                                      (add-after 'prepare-python-module 'build-python-module
                                                 (assoc-ref py:%standard-phases 'build))
                                      (add-after 'build-python-module 'install-python-module
                                                 (assoc-ref py:%standard-phases 'install))
                                      (add-after 'compress-documentation 'remove-bloat
                                                 (lambda _
                                                   (delete-file-recursively "target")
                                                   (delete-file-recursively "attacks")
                                                   (delete-file-recursively "safetensors")
                                                   ))
                                      )

                     #:cargo-inputs
                     `(
                       ;("rust-safetensors" ,rust-safetensors-0.4)
                       ("rust-pyo3" ,rust-pyo3-0.20)
                       ("rust-criterion" ,rust-criterion-0.5)
                       ("rust-memmap2" ,rust-memmap2-0.5)
                       ("rust-proptest" ,rust-proptest-1)
                       ("rust-serde" ,rust-serde-1)
                       ("rust-serde-json" ,rust-serde-json-1)
                       )
                     #:install-source? #false))
                 (inputs
                   (list maturin rust-safetensors-0.4 python-wheel))
                 (native-inputs
                   (list python-wrapper))
                 (home-page "https://github.com/huggingface/safetensors")
                 (synopsis "a new simple format for storing tensors safely")
                 (description "This repository implements a new simple format for storing tensors safely (as opposed to pickle) and that is still fast (zero-copy).")
                 (license license:asl2.0)))

(define-public ggml
               (package
                 (name "ggml")
                 (version "589fed13a77d7e54435c2182384955706b60b841")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/ggerganov/ggml")
                            (recursive? #t)
                            (commit version)))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32
                         "1qzydmiqsdxhj7gmaxbzllhhnb7rw49ykkj03jm044spk9nnn56s"))))
                 (build-system cmake-build-system)
                 (inputs (list openblas))
                 (arguments
                   '(
                     #:tests? #f
                     ;#:cmake "--config Release"
                     #:configure-flags (list "-DGGML_OPENBLAS=ON -DGGML_BUILD_TESTS=OFF -DGGML_BUILD_EXAMPLES=OFF --config Release")
                     ))
                 (home-page "https://github.com/ggerganov/ggml/")
                 (synopsis "Tensor library for machine learning")
                 (description "Tensor library for machine learning in pure C/C++")
                 (license license:expat)))

(define-public ggml-vulkan
               (package
                 (inherit ggml)
                 (name "ggml-vulkan")
                 (build-system cmake-build-system)
                 (inputs (list shaderc vulkan-headers vulkan-loader openlibm glibc))
                 (arguments
                   '(
                     #:tests? #f
                     ;#:cmake "--config Release"
                     #:configure-flags (list "-DGGML_VULKAN=ON -DGGML_BUILD_TESTS=OFF -DGGML_BUILD_EXAMPLES=OFF --config Release")
                     ))
                 (home-page "https://github.com/ggerganov/ggml/")
                 (synopsis "Tensor library for machine learning")
                 (description "Tensor library for machine learning in pure C/C++")
                 (license license:expat)))

(define-public mlimgsynth
               (package
                 (name "mlimgsynth")
                 (version "fd351102a0c6719fe4437cb1bb834a87735861a1")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/aagdev/mlimgsynth")
                            (recursive? #t)
                            (commit version)))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32
                         "1gbppz9r0mjdis6gcvpkx3f4v0px7zz05k0cxkjq9s4v63xzr1p3"))))
                 (build-system gnu-build-system)
                 (inputs (list openblas ggml-vulkan libpng ijg-libjpeg))
                 (arguments
                   '(
                     #:tests? #f
                     #:make-flags (let* ((ggml-dir (assoc-ref %build-inputs "ggml-vulkan")))
                                    (list (string-append "CC=gcc")
                                          (string-append "GGML_INCLUDE_PATH=" ggml-dir "/include")
                                          (string-append "GGML_LIB_PATH=" ggml-dir "/lib")))
                     #:phases
                     (modify-phases %standard-phases
                                    (delete 'check)
                                    (delete 'configure)
                                    (replace 'install
                                             (lambda* (#:key outputs #:allow-other-keys)
                                                      (let ((out (assoc-ref outputs "out")))
                                                        (install-file "mlimgsynth" (string-append out "/bin")))))
                                    )

                     )
                   )
                 (home-page "https://github.com/aagdev/mlimgsynth")
                 (synopsis " Image synthesis using machine learning")
                 (description "Generate images using Stable Diffusion (SD) models. This program is completely written in C and uses the GGML library. It is largely based in stable-diffusion.cpp, but with a focus in more concise and clear code.")
                 (license license:expat)))

(define-public stable-diffusion-cpp
               (package
                 (name "stable-diffusion-cpp")
                 (version "dcf91f9e0f2cbf9da472ee2a556751ed4bab2d2a")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/leejet/stable-diffusion.cpp.git")
                            (recursive? #t)
                            (commit version)))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32
                         "0dhh4m710kiwrs4yc64saab5rkjg5psxr15cm6fsl64pv4ssk7v5"))))
                 (build-system cmake-build-system)
                 (inputs (list openblas))
                 (arguments
                   '(
                     #:tests? #f
                     ;#:cmake "--config Release"
                     ;#:configure-flags (list "-DSD_CUBLAS=ON -DGGML_OPENBLAS=ON --config Release")
                     #:configure-flags (list "-DGGML_OPENBLAS=ON -DSD_FLASH_ATTN=ON --config Release")
                     )
                   )
                 (home-page "https://github.com/leejet/stable-diffusion.cpp")
                 (synopsis "Inference of Stable Diffusion in pure C/C++")
                 (description "Inference of Stable Diffusion in pure C/C++")
                 (license license:expat)))

(define-public stable-diffusion-cpp-vulkan
               (package
                 (inherit stable-diffusion-cpp)
                 (name "stable-diffusion-cpp-vulkan")
                 (arguments
                   `(
                     #:tests? #f
                     #:configure-flags (list "-DSD_VULKAN=ON --config Release")
                     #:phases (modify-phases %standard-phases
                                             (add-after 'install 'rename-binary
                                                        (lambda* (#:key outputs #:allow-other-keys)
                                                                 (let ((bin (string-append (assoc-ref outputs "out") "/bin/sd")))
                                                                   (when (file-exists? bin)
                                                                     (rename-file bin (string-append (dirname bin) "/sd-vulkan")))))))))
                 (inputs (list vulkan-headers vulkan-loader shaderc libomp))))

(define-public exiv2-staticlibs
               (package
                 (inherit exiv2)
    (arguments
     `(#:test-target "tests"
       #:configure-flags (list "-DEXIV2_BUILD_UNIT_TESTS=ON"
                               ;; darktable needs BMFF to support
                               ;; CR3 files.
                               "-DEXIV2_ENABLE_BMFF=ON")
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'patch-gcc-reference
           (lambda _
             ;; _GLIBCXX_ASSERTIONS brings reference to GCC.
             (substitute* "cmake/compilerFlags.cmake"
               (("add_compile_options[(]-Wp,-D_GLIBCXX_ASSERTIONS[)]")
                ""))))

         ,@(if (or (target-ppc64le?)
                   (target-aarch64?)
                   (target-riscv64?))
               '((add-after 'unpack 'adjust-tests
                   (lambda _
                     ;; Adjust test on ppc64 and aarch64, where no exception
                     ;; is raised and thus the return value is different.  See
                     ;; <https://github.com/Exiv2/exiv2/issues/365> and
                     ;; <https://github.com/Exiv2/exiv2/issues/933>.
                     (substitute* "tests/bugfixes/github/test_CVE_2018_12265.py"
                       (("\\$uncaught_exception \\$addition_overflow_message\n") "")
                       (("retval = \\[1\\]") "retval = [0]")))))
               '()))))
                 ))

(define-public stable-diffusion-cpp-gui-wx
               (package
                        (name "stable-diffusion-cpp-gui-wx")
                        (version "6f604f836961002fbce72a205c1e6cc6d6a531e9")
                        (source
                          (origin
                            (method git-fetch)
                                    (uri (git-reference
                                           (url "https://github.com/fszontagh/sd.cpp.gui.wx")
                                           (recursive? #t)
                                           (commit version)))
                                    (file-name (git-file-name name version))
                                    (sha256
                                      (base32
                                        "035zqhjnwdb07ag4chj9zijl70wk81kinqwlnvs9ixb2fzl1z374"))))
                 (build-system cmake-build-system)
                 (arguments
                   '(
                     #:tests? #f
                     #:configure-flags
                     (list 
                       "-DSD_AVX=ON"
                       "-DWXWIDGETS_VERSION=3.2.5"
                       (string-append "-DWXWIDGETS_EXTRA_PATH=" (assoc-ref %build-inputs "wxwidgets"))
                           )
                     #:substitutable? #f
                     )
                   )
               (native-inputs (list pkg-config))
               (inputs (list openblas openssl curl exiv2-staticlibs wxwidgets gtk+ pangomm git stable-diffusion-cpp))
               (synopsis "cross-platform GUI for Stable Diffusion C++")
               (description "A cross-platform GUI for Stable Diffusion C++, built using wxWidgets.")
               (home-page "https://stable-diffusion.fsociety.hu")
               (license license:expat)
               ))

(define-public bark-cpp
               (package
                 (name "bark-cpp")
                 (version "03d70997620ab4d1130be68ef2ab3c763ba09576")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/PABannier/bark.cpp.git")
                            (recursive? #t)
                            (commit version)))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32
                         "02s3nwpbq87r3l11bm2psc9lnra650rf87659kwx41p6kzsl536m"))))
                 (build-system cmake-build-system)
                 (inputs (list openblas))
                 (arguments
                   '(
                     #:tests? #f
                     #:configure-flags (list "-DGGML_OPENBLAS=ON --config Release")
                     #:phases
                     (modify-phases %standard-phases
                                    (add-after 'install 'install-server
                                               (lambda _
                                                 (with-directory-excursion (string-append #$output "/bin")
                                                                           (symlink "server" "bark-server")
                                                                           )
                                                 ))
                                    ;(add-after 'install 'install-main
                                    ;           (lambda _
                                    ;             (with-directory-excursion (string-append #$output "/bin")
                                    ;                                       (symlink "main" "bark")
                                    ;                                       )
                                    ;             ))
                                    ;
                                    )

                     ))
                 (home-page "https://github.com/PABannier/bark.cpp")
                 (synopsis "Real-time realistic multilingual text-to-speech generation to the community.")
                 (description "With bark.cpp, our goal is to bring real-time realistic multilingual text-to-speech generation to the community.")
                 (license license:expat)))

(define-public clip-cpp
               (package
                 (name "clip-cpp")
                 (version "f4ee24bb86680a27f83c8e8c70adbcf4cb776615")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/monatis/clip.cpp")
                            (recursive? #t)
                            (commit version)))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32
                         "0wybslxzygs1bwdmiy9la0fzids112iiajb3ca6sjkhjp7nwakky"))))
                 (build-system cmake-build-system)
                 ;(inputs (list openblas))
                 (arguments
                   (list
                     #:tests? #f
                     ;#:configure-flags #~(list "-DCLIP_BUILD_IMAGE_SEARCH=ON -DCLIP_OPENBLAS=ON")
                     #:configure-flags #~(list "-DCLIP_OPENBLAS=ON")
                     #:modules '((ice-9 textual-ports)
                                 (guix build utils)
                                 ((guix build python-build-system) #:prefix python:)
                                 (guix build cmake-build-system))
                     #:imported-modules `(,@%cmake-build-system-modules
                                           (guix build python-build-system))
                     #:phases
                     #~(modify-phases %standard-phases
                                      (add-before 'install 'install-python-scripts
                                                  (lambda _
                                                    (let ((bin (string-append #$output "/bin/")))
                                                      (define (make-script script)
                                                        (let ((suffix (if (string-suffix? ".py" script) "" ".py")))
                                                          (call-with-input-file
                                                            (string-append "../source/models/" script suffix)
                                                            (lambda (input)
                                                              (call-with-output-file (string-append bin script)
                                                                                     (lambda (output)
                                                                                       (format output "#!~a/bin/python3\n~a"
                                                                                               #$(this-package-input "python")
                                                                                               (get-string-all input))))))
                                                          (chmod (string-append bin script) #o555)))
                                                      (mkdir-p bin)
                                                      (make-script "convert_hf_to_gguf")
                                                      )))
                                      (add-after 'install-python-scripts 'wrap-python-scripts
                                                 (assoc-ref python:%standard-phases 'wrap))
                                      (replace 'install
                                               (lambda _
                                                 (copy-file "bin/main" (string-append #$output "/bin/clip"))
                                                 (copy-file "bin/zsl" (string-append #$output "/bin/clip-zsl"))
                                                 (copy-file "bin/extract" (string-append #$output "/bin/clip-extract"))
                                                 )))))
                 (inputs
                   `(
                     ("python", python)
                     ("openblas", openblas)
                     ;                      ("ursearch"
                     ;                      ,(origin
                     ;                     (method git-fetch)
                     ;                     (uri (git-reference
                     ;                         (url "https://github.com/unum-cloud/usearch")
                     ;                            (recursive? #t)
                     ;                            (commit "v2.11.4")))
                     ;                         (sha256
                     ;                           (base32 "0l4gm6z5dal3146izqs7x82yf3sh4bsfwa9rkmnm2m4yc2snfbhp"))
                     ;                         )
                     ;                      )))
                     )
                   )
                 ;                 (native-inputs (list git-minimal))
                 (home-page "https://github.com/leejet/stable-diffusion.cpp")
                 (synopsis "Inference of Stable Diffusion in pure C/C++")
                 (description "Inference of Stable Diffusion in pure C/C++")
                 (license license:expat)))

(define-public clblast
               (package
                 (name "clblast")
                 (version "1.6.3")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/CNugteren/CLBlast.git")
                            (commit version)
                            ))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "1zp8rfkscnh4l9x71kp39hsg5zxfhkkf88886mv40hw0a1hafdvz"))
                     ))
                 (build-system cmake-build-system)
                 (arguments
                   (list
                     #:phases
                     #~(modify-phases %standard-phases
                                      (delete 'check)
                                      )))
                 (inputs (list opencl-clhpp opencl-icd-loader))
                 (home-page "https://cnugteren.github.io/clblast")
                 (synopsis "Tuned OpenCL BLAS")
                 (description "CLBlast is a lightweight, performant and tunable OpenCL BLAS library written in C++11. It is designed to leverage the full performance potential of a wide variety of OpenCL devices from different vendors, including desktop and laptop GPUs, embedded GPUs, and other accelerators. CLBlast implements BLAS routines: basic linear algebra subprograms operating on vectors and matrices. See the CLBlast website for performance reports on some devices.")
                 (license license:asl2.0)))

(define-public kobold-cpp
               (package
                 (name "kobold-cpp")
                 (version "1.76")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/LostRuins/koboldcpp.git")
                            (commit (string-append "v" version))
                            ))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "155207vyxl2gh156gf0zs6ylkixrgr563cdfzkapcdhzj9lpsdfk"))
                     ))
                 (build-system gnu-build-system)
                 (arguments
                   (list
                     #:make-flags
                     #~(list 
                         "LLAMA_OPENBLAS=1"
                         "LLAMA_CLBLAST=1"
                         "LLAMA_VULKAN=1"
                         (string-append "CC=" #$(cc-for-target))
                         )
                     #:modules '((ice-9 textual-ports)
                                 (guix build utils)
                                 ((guix build python-build-system) #:prefix python:)
                                 (guix build gnu-build-system))
                     #:imported-modules `(,@%default-gnu-imported-modules
                                           (guix build python-build-system))


                     #:phases
                     #~(modify-phases %standard-phases
                                      ;(add-after 'unpack 'disable-unrunable-tests
                                      ;  ;; test-eval-callback downloads ML model from network, cannot
                                      ;  ;; run in Guix build environment
                                      ;  (lambda _
                                      ;    (substitute* '("examples/eval-callback/CMakeLists.txt")
                                      ;      (("add_test") "#add_test"))
                                      ;    (substitute* '("examples/eval-callback/CMakeLists.txt")
                                      ;      (("set_property") "#set_property"))))
                                      (add-after 'build 'install-python-scripts
                                                 (lambda _
                                                   (let ((bin (string-append #$output "/bin/")))
                                                     (define (make-script script)
                                                       (let ((suffix (if (string-suffix? ".py" script) "" ".py")))
                                                         (call-with-input-file
                                                           (string-append script suffix)
                                                           (lambda (input)
                                                             (call-with-output-file (string-append bin script)
                                                                                    (lambda (output)
                                                                                      (format output "#!~a/bin/python3\n~a"
                                                                                              #$(this-package-input "python")
                                                                                              (get-string-all input))))))
                                                         (chmod (string-append bin script) #o555)))
                                                     (make-script "koboldcpp.py")
                                                     ;(make-script "convert-hf-to-gguf")
                                                     ;(make-script "convert-llama-ggml-to-gguf")
                                                     ;(make-script "convert-hf-to-gguf-update.py")
                                                     )))
                                      (add-after 'build 'install-compiled
                                                 (lambda _ 
                                                   (mkdir-p (string-append #$output "/lib"))
                                                   (mkdir-p (string-append #$output "/bin"))
                                                   (for-each (lambda (f) 
                                                               (install-file f (string-append #$output "/lib"))) (find-files "." "\\.so$"))
                                                   (for-each (lambda (f) 
                                                               (install-file f (string-append #$output "/bin"))) (find-files "." "\\.py$"))))
                                      ;(add-after 'install-compiled 'wrap-python-scripts
                                      ;           ;(assoc-ref python:%standard-phases 'wrap)
                                      ;           (add-after 'wrap-python-scripts 'wrap-for-local-libs
                                      ;                      (lambda _
                                      ;                        (wrap-program (string-append #$output "/bin/koboldcpp.py")
                                      ;                                      '("PATH" ":" suffix (string-append #$output "/lib/")))
                                      ;                        )
                                      ;                      )
                                      (delete 'configure)
                                      (delete 'check)
                                      (delete 'install) ;Only running "make" is necssary for install.
                                      )))
                 (inputs (list python))
                 (native-inputs (list pkg-config gcc-toolchain))
                 (propagated-inputs
                   (list python-numpy python-pytorch python-sentencepiece openblas clblast opencl-clhpp opencl-icd-loader vulkan-headers vulkan-loader python-gguf python-customtkinter findutils))
                 (properties '((tunable? . #true))) ;use AVX512, FMA, etc. when available
                 (home-page "https://github.com/lostruins/koboldcpp")
                 (synopsis " A simple one-file way to run various GGML and GGUF models with a KoboldAI UI.")
                 (description "KoboldCpp is an easy-to-use AI text-generation software for GGML and GGUF models, inspired by the original KoboldAI. It's a single self-contained distributable from Concedo, that builds off llama.cpp, and adds a versatile KoboldAI API endpoint, additional format support, Stable Diffusion image generation, speech-to-text, backward compatibility, as well as a fancy UI with persistent stories, editing tools, save formats, memory, world info, author's note, characters, scenarios and everything KoboldAI and KoboldAI Lite have to offer.")
                 (license license:agpl3)))
(define-public python-gguf
               (package
                 (name "python-gguf")
                 (version "0.9.1")
                 (source
                   (origin
                     (method url-fetch)
                     (uri (pypi-uri "gguf" version))
                     (sha256
                       (base32 "0fyk7x6b2a7xjmf3q7zb61ik1yrk80xm7xx9yr2wa6avw63hkrzm"))))
                 (build-system pyproject-build-system)
                 (arguments
                   '( #:phases
                      (modify-phases %standard-phases
                                     (delete 'check)  ;#TODO: see why this is broke
                                     (delete 'sanity-check) ;TODO: Fix broken sanity-check
                                     )))
                 (native-inputs (list poetry))
                 (propagated-inputs (list python-numpy python-tqdm))
                 (home-page "https://ggml.ai")
                 (synopsis "Read and write ML models in GGUF for GGML")
                 (description "Read and write ML models in GGUF for GGML.")
                 (license #f)))

(define-public python-darkdetect
               (package
                 (name "python-darkdetect")
                 (version "0.8.0")
                 (source
                   (origin
                     (method url-fetch)
                     (uri (pypi-uri "darkdetect" version))
                     (sha256
                       (base32 "1cgqgpz36dfn7hsqc29ha9pmxmzdjlwdq9aclkgbagi6f08qwhmm"))))
                 (build-system pyproject-build-system)
                 (arguments
                   '( #:phases
                      (modify-phases %standard-phases
                                     (delete 'check)  ;#TODO: see why this is broke
                                     (delete 'sanity-check) ;TODO: Fix broken sanity-check
                                     )))
                 (home-page "")
                 (synopsis "Detect OS Dark Mode from Python")
                 (description "Detect OS Dark Mode from Python.")
                 (license #f)))

(define-public python-customtkinter
               (package
                 (name "python-customtkinter")
                 (version "5.2.2")
                 (source
                   (origin
                     (method url-fetch)
                     (uri (pypi-uri "customtkinter" version))
                     (sha256
                       (base32 "01yjv09r3cbdk09vamh7cdc5iqn2nj0bl383wqp9h74nzaxb73gx"))))
                 (build-system pyproject-build-system)
                 (arguments
                   '( #:phases
                      (modify-phases %standard-phases
                                     (delete 'check)  ;#TODO: see why this is broke
                                     (delete 'sanity-check) ;TODO: Fix broken sanity-check
                                     )))
                 (propagated-inputs (list python-darkdetect python-packaging
                                          python-typing-extensions))
                 (home-page "https://customtkinter.tomschimansky.com")
                 (synopsis "Create modern looking GUIs with Python")
                 (description "Create modern looking GUIs with Python.")
                 (license #f)))
(define-public python-rubbrband
               (package
                 (name "python-rubbrband")
                 (version "0.2.19")
                 (source
                   (origin
                     (method url-fetch)
                     (uri (pypi-uri "rubbrband" version))
                     (sha256
                       (base32 "1sv7y2wvnmb0mabdbzwg0q6cf9mjkrik68dnbl3qa0slf8z7biy7"))))
                 (build-system pyproject-build-system)
                 (propagated-inputs (list python-pillow python-requests))
                 (home-page "https://github.com/rubbrband/rubbrband")
                 (synopsis "")
                 (description #f)
                 (license #f)))

(define-public go-github-com-arbovm-levenshtein
               (package
                 (name "go-github-com-arbovm-levenshtein")
                 (version "0.0.0-20160628152529-48b4e1c0c4d0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/arbovm/levenshtein")
                            (commit (go-version->git-ref version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0nmx2iip8xpnbmy6gvqpc9ikizr33dr40xgv746h0b0by8n7rv7y"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/arbovm/levenshtein"))
                 (home-page "https://github.com/arbovm/levenshtein")
                 (synopsis "Levenshtein Distance")
                 (description
                   "@@url{http://golang.org,Go} package to calculate the
                   @@url{http://en.wikipedia.org/wiki/Levenshtein_distance,Levenshtein Distance}.")
                   (license license:bsd-3)))

(define-public go-github-com-dgryski-trifles
               (package
                 (name "go-github-com-dgryski-trifles")
                 (version "0.0.0-20240922021506-5ecb8eeff266")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/dgryski/trifles")
                            (commit (go-version->git-ref version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "071pnsyax99ikc58b110hdvqk1v46mqk6zdd0sshrf9lmwixwpnj"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/dgryski/trifles"))
                 (home-page "https://github.com/dgryski/trifles")
                 (synopsis #f)
                 (description #f)
                 (license license:expat)))

(define-public go-github-com-agnivade-levenshtein
               (package
                 (name "go-github-com-agnivade-levenshtein")
                 (version "1.2.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/agnivade/levenshtein")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0vg9aj9k4qv96nqqp261qrm9g7kj0axqhv3mm9qvw932l72943hn"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/agnivade/levenshtein"))
                 (propagated-inputs (list go-github-com-dgryski-trifles
                                          go-github-com-arbovm-levenshtein))
                 (home-page "https://github.com/agnivade/levenshtein")
                 (synopsis "levenshtein")
                 (description
                   "Package levenshtein is a Go implementation to calculate Levenshtein Distance.")
                 (license license:expat)))

(define-public go-github-com-d4l3k-go-bfloat16
               (package
                 (name "go-github-com-d4l3k-go-bfloat16")
                 (version "0.0.0-20211005043715-690c3bdd05f1")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/d4l3k/go-bfloat16")
                            (commit (go-version->git-ref version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "1bshygdr5lcagznrh349r53whqhlg870j484zpsi3f7ilqv08rvy"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/d4l3k/go-bfloat16"))
                 (home-page "https://github.com/d4l3k/go-bfloat16")
                 (synopsis "go-bfloat16")
                 (description "BFloat16 conversion utilities for Go/Golang.")
                 (license license:expat)))

(define-public go-github-com-nlpodyssey-gopickle
               (package
                 (name "go-github-com-nlpodyssey-gopickle")
                 (version "0.3.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/nlpodyssey/gopickle")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "1fadbyq63i55g3k91knm7m1pl3j0krxdgpajrl78h27sl3mhnhal"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/nlpodyssey/gopickle"))
                 (propagated-inputs (list go-golang-org-x-text))
                 (home-page "https://github.com/nlpodyssey/gopickle")
                 (synopsis "GoPickle")
                 (description
                   "@code{GoPickle} is a Go library for loading Python's data serialized with
                   @@code{pickle} and @code{PyTorch} module files.")
                   (license license:bsd-2)))

(define-public go-github-com-census-instrumentation-opencensus-proto
               (package
                 (name "go-github-com-census-instrumentation-opencensus-proto")
                 (version "0.4.1")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/census-instrumentation/opencensus-proto")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0zda7v8fqbc2hamnwajdwr9742nznajxgcw636n570v8k5ahrymw"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/census-instrumentation/opencensus-proto"))
                 (propagated-inputs (list go-google-golang-org-protobuf
                                          go-google-golang-org-grpc
                                          go-github-com-grpc-ecosystem-grpc-gateway-v2))
                 (home-page "https://github.com/census-instrumentation/opencensus-proto")
                 (synopsis
                   "OpenCensus Proto - Language Independent Interface Types For OpenCensus")
                 (description
                   "Census provides a framework to define and collect stats against metrics and to
                   break those stats down across user-defined dimensions.")
                   (license license:asl2.0)))

(define-public go-cel-dev-expr
               (package
                 (name "go-cel-dev-expr")
                 (version "0.18.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/google/cel-spec")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0qpnv8d6nyxkjljy9m3ykkpp18cakxj90x1acp09phsf3wrj536l"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "cel.dev/expr"))
                 (propagated-inputs (list go-google-golang-org-protobuf
                                          go-google-golang-org-genproto-googleapis-rpc))
                 (home-page "https://cel.dev/expr")
                 (synopsis "Common Expression Language")
                 (description
                   "The Common Expression Language (CEL) implements common semantics for expression
                   evaluation, enabling different applications to more easily interoperate.")
                   (license license:asl2.0)))

(define-public go-github-com-cncf-xds-go
               (package
                 (name "go-github-com-cncf-xds-go")
                 (version "0.0.0-20240905190251-b4127c9b8d78")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/cncf/xds")
                            (commit (go-version->git-ref version
                                                         #:subdir "go"))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "04wg9722v7mgn4ndkwbahcpxkhx6hw842h2r1qfc6xrryp8l13hr"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/cncf/xds/go"
                     #:unpack-path "github.com/cncf/xds"))
                 (propagated-inputs (list go-google-golang-org-protobuf
                                          go-google-golang-org-grpc
                                          go-google-golang-org-genproto-googleapis-api
                                          go-github-com-envoyproxy-protoc-gen-validate
                                          go-cel-dev-expr))
                 (home-page "https://github.com/cncf/xds")
                 (synopsis #f)
                 (description #f)
                 (license license:asl2.0)))

(define-public go-github-com-iancoleman-strcase
               (package
                 (name "go-github-com-iancoleman-strcase")
                 (version "0.3.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/iancoleman/strcase")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "169fb56kiif2gq92b7hvh9xgl2n8kjmdg4gqaa1492kb97ia8lwm"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/iancoleman/strcase"))
                 (home-page "https://github.com/iancoleman/strcase")
                 (synopsis "strcase")
                 (description
                   "Package strcase converts strings to various cases.  See the conversion table
                   below:.")
                   (license license:expat)))

(define-public go-github-com-lyft-protoc-gen-star
               (package
                 (name "go-github-com-lyft-protoc-gen-star")
                 (version "2.0.3")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/lyft/protoc-gen-star")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0c0w7xlarzkmbfsxdknakmnm562q3whxgs3ck3icwrva3dim94qc"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/lyft/protoc-gen-star/v2"
                     #:unpack-path "github.com/lyft/protoc-gen-star"))
                 (propagated-inputs (list go-google-golang-org-protobuf
                                          go-golang-org-x-tools
                                          go-github-com-stretchr-testify
                                          go-github-com-spf13-afero))
                 (home-page "https://github.com/lyft/protoc-gen-star")
                 (synopsis "protoc-gen-star (PG*)")
                 (description "Package pgs provides a library for building protoc plugins.")
                 (license license:asl2.0)))

(define-public go-github-com-envoyproxy-protoc-gen-validate
               (package
                 (name "go-github-com-envoyproxy-protoc-gen-validate")
                 (version "1.1.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/bufbuild/protoc-gen-validate")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0yw8r45ykziz3bkfxi8y15kdakip8rjr2r2mqyx8ld8c12mcr3j1"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/envoyproxy/protoc-gen-validate"))
                 (propagated-inputs (list go-google-golang-org-protobuf go-golang-org-x-net
                                          go-github-com-lyft-protoc-gen-star-v2
                                          go-github-com-iancoleman-strcase))
                 (home-page "https://github.com/envoyproxy/protoc-gen-validate")
                 (synopsis "protoc-gen-validate (PGV)")
                 (description
                   "PGV is a protoc plugin to generate polyglot message validators.  While protocol
                   buffers effectively guarantee the types of structured data, they cannot enforce
                   semantic rules for values.  This plugin adds support to protoc-generated code to
                   validate such constraints.")
                   (license license:asl2.0)))

(define-public go-github-com-planetscale-vtprotobuf
               (package
                 (name "go-github-com-planetscale-vtprotobuf")
                 (version "0.6.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/planetscale/vtprotobuf")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0bms8rrg8wrm3x9mspqrzzix24vjgi3p5zzbw108ydr1rnarwblf"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/planetscale/vtprotobuf"))
                 (propagated-inputs (list go-google-golang-org-protobuf
                                          go-google-golang-org-grpc
                                          go-github-com-stretchr-testify))
                 (home-page "https://github.com/planetscale/vtprotobuf")
                 (synopsis ", the Vitess Protocol Buffers compiler")
                 (description
                   "This repository provides the @@code{protoc-gen-go-vtproto} plug-in for
                   @@code{protoc}, which is used by Vitess to generate optimized marshall &
                   unmarshal code.")
                   (license license:bsd-3)))

(define-public go-github-com-antihax-optional
               (package
                 (name "go-github-com-antihax-optional")
                 (version "1.0.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/antihax/optional")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "1ix08vl49qxr58rc6201cl97g1yznhhkwvqldslawind99js4rj0"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/antihax/optional"))
                 (home-page "https://github.com/antihax/optional")
                 (synopsis #f)
                 (description #f)
                 (license license:expat)))

(define-public go-github-com-grpc-ecosystem-grpc-gateway
               (package
                 (name "go-github-com-grpc-ecosystem-grpc-gateway")
                 (version "2.23.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/grpc-ecosystem/grpc-gateway")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0icmav883d29scraar6b0x3dw8z78b118flcn6s1qnza51rskakq"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/grpc-ecosystem/grpc-gateway/v2"
                     #:unpack-path "github.com/grpc-ecosystem/grpc-gateway"))
                 (propagated-inputs (list go-gopkg-in-yaml-v3
                                          go-google-golang-org-protobuf
                                          go-google-golang-org-grpc
                                          go-google-golang-org-genproto-googleapis-rpc
                                          go-google-golang-org-genproto-googleapis-api
                                          go-golang-org-x-text
                                          go-golang-org-x-oauth2
                                          go-github-com-rogpeppe-fastuuid
                                          go-github-com-google-go-cmp
                                          go-github-com-antihax-optional))
                 (home-page "https://github.com/grpc-ecosystem/grpc-gateway")
                 (synopsis "About")
                 (description
                   "The @code{gRPC-Gateway} is a plugin of the Google protocol buffers compiler
                   @@url{https://github.com/protocolbuffers/protobuf,protoc}.  It reads protobuf
                   service definitions and generates a reverse-proxy server which translates a
                   RESTful HTTP API into @code{gRPC}.  This server is generated according to the
                   @@url{https://github.com/googleapis/googleapis/raw/master/google/api/http.proto#L46,(code
                                                                                                         google.api.http)} annotations in your service definitions.")
                   (license license:bsd-3)))

(define-public go-go-opentelemetry-io-proto-otlp
               (package
                 (name "go-go-opentelemetry-io-proto-otlp")
                 (version "1.3.1")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/open-telemetry/opentelemetry-proto-go")
                            (commit (go-version->git-ref version
                                                         #:subdir "otlp"))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "1hczl3xbkszf6rggbkail9z0ahm2vyfmc7i5ysp1v1whxpxgvy7j"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "go.opentelemetry.io/proto/otlp"
                     #:unpack-path "go.opentelemetry.io/proto"))
                 (propagated-inputs (list go-google-golang-org-protobuf
                                          go-google-golang-org-grpc
                                          go-github-com-grpc-ecosystem-grpc-gateway-v2))
                 (home-page "https://go.opentelemetry.io/proto")
                 (synopsis #f)
                 (description #f)
                 (license license:asl2.0)))

(define-public go-google-golang-org-genproto-googleapis-api
               (package
                 (name "go-google-golang-org-genproto-googleapis-api")
                 (version "0.0.0-20241118233622-e639e219e697")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/googleapis/go-genproto")
                            (commit (go-version->git-ref version
                                                         #:subdir "googleapis/api"))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "040gjnlgysk3gaayliwjzxrz1abx3mmfrs3c6g39sfxh2ii99199"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "google.golang.org/genproto/googleapis/api"
                     #:unpack-path "google.golang.org/genproto"))
                 (propagated-inputs (list go-google-golang-org-protobuf
                                          go-google-golang-org-grpc
                                          go-google-golang-org-genproto-googleapis-rpc))
                 (home-page "https://google.golang.org/genproto")
                 (synopsis #f)
                 (description #f)
                 (license license:asl2.0)))

(define-public go-github-com-envoyproxy-go-control-plane
               (package
                 (name "go-github-com-envoyproxy-go-control-plane")
                 (version "0.13.1")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/envoyproxy/go-control-plane")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0wq3v5w5svk2aqnz264sq9nl79x4ag2f9w8s2s74s6y0an74fshq"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/envoyproxy/go-control-plane"))
                 (propagated-inputs (list go-google-golang-org-protobuf
                                          go-google-golang-org-grpc
                                          go-google-golang-org-genproto-googleapis-rpc
                                          go-google-golang-org-genproto-googleapis-api
                                          go-go-uber-org-goleak
                                          go-go-opentelemetry-io-proto-otlp
                                          go-github-com-stretchr-testify
                                          go-github-com-prometheus-client-model
                                          go-github-com-planetscale-vtprotobuf
                                          go-github-com-google-go-cmp
                                          go-github-com-envoyproxy-protoc-gen-validate
                                          go-github-com-cncf-xds-go
                                          go-github-com-census-instrumentation-opencensus-proto))
                 (home-page "https://github.com/envoyproxy/go-control-plane")
                 (synopsis "control-plane")
                 (description
                   "This repository contains a Go-based implementation of an API server that
                   implements the discovery service APIs defined in
                   @@url{https://github.com/envoyproxy/data-plane-api,data-plane-api}.")
                   (license license:asl2.0)))

(define-public go-google-golang-org-genproto-googleapis-rpc
               (package
                 (name "go-google-golang-org-genproto-googleapis-rpc")
                 (version "0.0.0-20241118233622-e639e219e697")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/googleapis/go-genproto")
                            (commit (go-version->git-ref version
                                                         #:subdir "googleapis/rpc"))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "040gjnlgysk3gaayliwjzxrz1abx3mmfrs3c6g39sfxh2ii99199"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "google.golang.org/genproto/googleapis/rpc"
                     #:unpack-path "google.golang.org/genproto"))
                 (propagated-inputs (list go-google-golang-org-protobuf))
                 (home-page "https://google.golang.org/genproto")
                 (synopsis #f)
                 (description #f)
                 (license license:asl2.0)))

(define-public go-google-golang-org-grpc
               (package
                 (name "go-google-golang-org-grpc")
                 (version "1.68.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/grpc/grpc-go")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "1wnglryan2p7b7almii3hp1yav5gaan3cvwyabjdkjc9yqrvn99j"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "google.golang.org/grpc"))
                 (propagated-inputs (list go-google-golang-org-protobuf
                                          go-google-golang-org-genproto-googleapis-rpc
                                          go-golang-org-x-sys
                                          go-golang-org-x-sync
                                          go-golang-org-x-oauth2
                                          go-golang-org-x-net
                                          go-github-com-google-uuid
                                          go-github-com-google-go-cmp
                                          go-github-com-golang-protobuf
                                          go-github-com-golang-glog
                                          ;go-github-com-envoyproxy-go-control-plane
                                          go-github-com-cncf-xds-go
                                          go-github-com-cespare-xxhash-v2))
                 (home-page "https://google.golang.org/grpc")
                 (synopsis "gRPC-Go")
                 (description "Package grpc implements an RPC system called @code{gRPC}.")
                 (license license:asl2.0)))

(define-public go-github-com-apache-arrow-go-arrow
               (package
                 (name "go-github-com-apache-arrow-go-arrow")
                 (version "0.0.0-20211112161151-bc219186db40")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/apache/arrow")
                            (commit (go-version->git-ref version
                                                         #:subdir "go/arrow"))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "03nh7c0i3y9rkkzw428knalkrlpb8syr459i00mwp072ijn8v4hx"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/apache/arrow/go/arrow"
                     #:unpack-path "github.com/apache/arrow"))
                 (propagated-inputs (list go-google-golang-org-protobuf
                                          go-google-golang-org-grpc
                                          go-github-com-gonum-gonum
                                          go-golang-org-x-xerrors
                                          go-golang-org-x-exp
                                          go-github-com-stretchr-testify
                                          go-github-com-pierrec-lz4-v4
                                          go-github-com-klauspost-compress
                                          go-github-com-google-flatbuffers
                                          go-github-com-golang-protobuf))
                 (home-page "https://github.com/apache/arrow")
                 (synopsis #f)
                 (description "Package arrow provides an implementation of Apache Arrow.")
                 (license license:asl2.0)))

(define-public go-github-com-chewxy-hm
               (package
                 (name "go-github-com-chewxy-hm")
                 (version "1.0.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/chewxy/hm")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0f4qwg1q2lc9y64wrl9qxyimqnnandlqg78gn3yv4vsmyci025r7"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/chewxy/hm"))
                 (home-page "https://github.com/chewxy/hm")
                 (synopsis "hm")
                 (description
                   "Package hm is a simple Hindley-Milner type inference system in Go.  It provides
                   the necessary data structures and functions for creating such a system.")
                   (license license:expat)))

(define-public go-github-com-google-flatbuffers
               (package
                 (name "go-github-com-google-flatbuffers")
                 (version "24.3.25+incompatible")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/google/flatbuffers")
                            (commit (go-version->git-ref version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0q066x1h0x9225aj25jv40gxgz46yvwmiqc2g6q06mkkg1144kxq"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/google/flatbuffers"))
                 (home-page "https://github.com/google/flatbuffers")
                 (synopsis "FlatBuffers")
                 (description
                   "@@strong{@code{FlatBuffers}} is a cross platform serialization library
                   architected for maximum memory efficiency.  It allows you to directly access
                   serialized data without parsing/unpacking it first, while still having great
                   forwards/backwards compatibility.")
                   (license license:asl2.0)))

(define-public go-go4-org-unsafe-assume-no-moving-gc
               (package
                 (name "go-go4-org-unsafe-assume-no-moving-gc")
                 (version "0.0.0-20231121144256-b99613f794b6")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/go4org/unsafe-assume-no-moving-gc")
                            (commit (go-version->git-ref version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "00ny3qha8k9nnx37ryvls2n5r7lw3bnldz6kwdmjxk8s19mxqim7"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "go4.org/unsafe/assume-no-moving-gc"))
                 (home-page "https://go4.org/unsafe/assume-no-moving-gc")
                 (synopsis "go4.org/unsafe/assume-no-moving-gc")
                 (description
                   "Package go4.org/unsafe/assume-no-moving-gc exists so you can depend on it from
                   unsafe code that wants to declare that it assumes that the Go runtime does not
                   use a moving garbage collector.  Specifically, it asserts that the caller is
                   playing stupid games with the addresses of heap-allocated values.  It says
                   nothing about values that Go's escape analysis keeps on the stack.  Ensuring
                   things aren't stack-allocated is the caller's responsibility.")
                   (license license:bsd-3)))

(define-public go-github-com-chewxy-math32
               (package
                 (name "go-github-com-chewxy-math32")
                 (version "1.11.1")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/chewxy/math32")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0i7jssi872mv7h4rc4y0xa88a0hsr03mydqyrd6mrm8n7q8rfml9"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/chewxy/math32"))
                 (home-page "https://github.com/chewxy/math32")
                 (synopsis "math32")
                 (description
                   "Package math32 provides basic constants and mathematical functions for float32
                   types.")
                   (license license:bsd-2)))

(define-public go-gorgonia-org-vecf32
               (package
                 (name "go-gorgonia-org-vecf32")
                 (version "0.9.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/gorgonia/vecf32")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0jggbf98fbbip7znx5m4n2lqqsnw5kqycj3gcbs62ypirr1pp0m9"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "gorgonia.org/vecf32"))
                 (propagated-inputs (list go-github-com-stretchr-testify
                                          go-github-com-pmezard-go-difflib
                                          go-github-com-davecgh-go-spew
                                          go-github-com-chewxy-math32))
                 (home-page "https://gorgonia.org/vecf32")
                 (synopsis "vecf32")
                 (description
                   "Package vecf32 provides common functions and methods for slices of float32.")
                 (license license:expat)))

(define-public go-gorgonia-org-vecf64
               (package
                 (name "go-gorgonia-org-vecf64")
                 (version "0.9.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/gorgonia/vecf64")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0a8v65cy6gyh7ww2g8q4p6dmjhcd6k7lm7z8ly4vmi4k0vq1w187"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "gorgonia.org/vecf64"))
                 (propagated-inputs (list go-github-com-stretchr-testify
                                          go-github-com-pmezard-go-difflib
                                          go-github-com-davecgh-go-spew))
                 (home-page "https://gorgonia.org/vecf64")
                 (synopsis "vecf64")
                 (description
                   "Package vecf64 provides common functions and methods for slices of float64.")
                 (license license:expat)))

(define-public go-github-com-pdevine-tensor
               (package
                 (name "go-github-com-pdevine-tensor")
                 (version "0.0.0-20240510204454-f88f4562727c")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/pdevine/tensor")
                            (commit (go-version->git-ref version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "1ibc3x2c3dybhqdfnq2rrw6zxqng3b2zkl7nldsmllljfvp39c7s"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/pdevine/tensor"))
                 (propagated-inputs (list go-gorgonia-org-vecf64
                                          go-gorgonia-org-vecf32
                                          go-github-com-gonum-gonum
                                          go-go4-org-unsafe-assume-no-moving-gc
                                          go-github-com-stretchr-testify
                                          go-github-com-pkg-errors
                                          go-github-com-google-flatbuffers
                                          go-github-com-golang-protobuf
                                          go-github-com-gogo-protobuf
                                          go-github-com-chewxy-math32
                                          go-github-com-chewxy-hm
                                          go-github-com-apache-arrow-go-arrow))
                 (home-page "https://github.com/pdevine/tensor")
                 (synopsis "Package")
                 (description
                   "Package tensor is a package that provides efficient, generic n-dimensional
                   arrays in Go.  Also in this package are functions and methods that are used
                   commonly in arithmetic, comparison and linear algebra operations.")
                   (license license:asl2.0)))

(define-public go-github-com-knz-go-libedit
               (package
                 (name "go-github-com-knz-go-libedit")
                 (version "1.10.1")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/knz/go-libedit")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "04a5ryzldsk7agybcz4rpd7g1v5vh7smawlky58bwj0341083p44"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/knz/go-libedit"))
                 (home-page "https://github.com/knz/go-libedit")
                 (synopsis "go-libedit")
                 (description
                   "Go wrapper around @@code{libedit}, a replacement to GNU readline using the BSD
                   license.")
                   (license license:asl2.0)))

(define-public go-nullprogram-com-x-optparse
               (package
                 (name "go-nullprogram-com-x-optparse")
                 (version "1.0.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/skeeto/optparse-go")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "1yzpzlhmxdm8gd8ikh9c91qmshjp1jg49l0qsslmm432wk19zym9"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "nullprogram.com/x/optparse"))
                 (home-page "https://nullprogram.com/x/optparse")
                 (synopsis "Traditional long option parser for Go")
                 (description
                   "Package optparse parses command line arguments very similarly to GNU
                   getopt_long().  It supports long options and optional arguments, but does not
                   permute arguments.  It is intended as a replacement for Go's flag package.")
                   (license license:unlicense)))

(define-public go-github-com-cloudwego-iasm
               (package
                 (name "go-github-com-cloudwego-iasm")
                 (version "0.2.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/cloudwego/iasm")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0j9jvx6ijlr2xz3am4qrz5py68xpl8np7m7yfq9m2ilkli3ksq9x"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/cloudwego/iasm"))
                 (propagated-inputs (list go-nullprogram-com-x-optparse
                                          go-github-com-stretchr-testify
                                          go-github-com-knz-go-libedit
                                          go-github-com-klauspost-cpuid-v2
                                          go-github-com-davecgh-go-spew))
                 (home-page "https://github.com/cloudwego/iasm")
                 (synopsis "-- Interactive Assembler for Go.")
                 (description "Dual-purpose assembly engine written in pure Golang.")
                 (license license:asl2.0)))

(define-public go-github-com-bytedance-sonic-loader
               (package
                 (name "go-github-com-bytedance-sonic-loader")
                 (version "0.2.1")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/bytedance/sonic")
                            (commit (go-version->git-ref version
                                                         #:subdir "loader"))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0fyjq3hr4cmai2r06ppzil314bcqz416gd1zpw7lfp9h7mcwxwa4"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/bytedance/sonic/loader"
                     #:unpack-path "github.com/bytedance/sonic"))
                 (propagated-inputs (list go-github-com-stretchr-testify
                                          go-github-com-cloudwego-iasm))
                 (home-page "https://github.com/bytedance/sonic")
                 (synopsis #f)
                 (description #f)
                 (license license:asl2.0)))

(define-public go-github-com-cloudwego-base64x
               (package
                 (name "go-github-com-cloudwego-base64x")
                 (version "0.1.4")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/cloudwego/base64x")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "1lgs28mj5w350vp6pazz2265hx2kab3kbjw7vnk0w1skslxbj8kx"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/cloudwego/base64x"))
                 (propagated-inputs (list go-github-com-stretchr-testify
                                          go-github-com-klauspost-cpuid-v2
                                          go-github-com-davecgh-go-spew
                                          go-github-com-bytedance-sonic-loader))
                 (home-page "https://github.com/cloudwego/base64x")
                 (synopsis "base64x")
                 (description
                   "High performance drop-in replacement of the @@code{encoding/base64} library.")
                 (license (list license:asl2.0 license:asl2.0))))

(define-public go-github-com-twitchyliquid64-golang-asm
               (package
                 (name "go-github-com-twitchyliquid64-golang-asm")
                 (version "0.15.1")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/twitchyliquid64/golang-asm")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "1akw41i0snxqw9lqzmnn4gx6hd5js5dr1vmfkm49wxans4k14vw4"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/twitchyliquid64/golang-asm"))
                 (home-page "https://github.com/twitchyliquid64/golang-asm")
                 (synopsis "golang-asm")
                 (description
                   "This package provides a mirror of the assembler from the Go compiler, with
                   import paths re-written for the assembler to be functional as a standalone
                   library.")
                   (license license:bsd-3)))

(define-public go-rsc-io-pdf
               (package
                 (name "go-rsc-io-pdf")
                 (version "0.1.1")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/rsc/pdf")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "01qjjwa8nn5a2jzd360xqg5zc8s0i2fpwcn2w2g6y2jgn9wl8x84"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "rsc.io/pdf"))
                 (home-page "https://rsc.io/pdf")
                 (synopsis #f)
                 (description "Package pdf implements reading of PDF files.")
                 (license license:bsd-3)))

(define-public go-golang-org-x-arch
               (package
                 (name "go-golang-org-x-arch")
                 (version "0.12.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://go.googlesource.com/arch")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "104mnfx3v6lwjndjd35ly8r6yb4bb74lq5sq1cqpxw38mqyzqmx2"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "golang.org/x/arch"))
                 (propagated-inputs (list go-rsc-io-pdf))
                 (home-page "https://golang.org/x/arch")
                 (synopsis "arch")
                 (description
                   "This repository holds machine architecture information used by the Go toolchain.
                   The parts needed in the main Go repository are copied in.")
                   (license license:bsd-3)))

(define-public go-github-com-bytedance-sonic
               (package
                 (name "go-github-com-bytedance-sonic")
                 (version "1.12.4")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/bytedance/sonic")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "0lcasvkl9q43c7az373hcjrfdrlih1aimwxmrpx0pxqj2ijakl3b"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/bytedance/sonic"))
                 (propagated-inputs (list go-golang-org-x-arch
                                          go-github-com-twitchyliquid64-golang-asm
                                          go-github-com-stretchr-testify
                                          go-github-com-klauspost-cpuid-v2
                                          go-github-com-davecgh-go-spew
                                          go-github-com-cloudwego-base64x
                                          go-github-com-bytedance-sonic-loader))
                 (home-page "https://github.com/bytedance/sonic")
                 (synopsis "Sonic")
                 (description
                   "English |
                   @@url{https://github.com/bytedance/sonic/blob/v1.12.4/README_ZH_CN.md,中文}.")
                   (license license:asl2.0)))

(define-public go-github-com-gin-contrib-sse
               (package
                 (name "go-github-com-gin-contrib-sse")
                 (version "0.1.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/gin-contrib/sse")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "072nq91a65n5xvwslqjyvydfd0mfpnvb3vwjyfvmzm1ym96wr1nd"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/gin-contrib/sse"))
                 (propagated-inputs (list go-github-com-stretchr-testify))
                 (home-page "https://github.com/gin-contrib/sse")
                 (synopsis "Server-Sent Events")
                 (description
                   "Server-sent events (SSE) is a technology where a browser receives automatic
                   updates from a server via HTTP connection.  The Server-Sent Events
                   @code{EventSource} API is
                   @@url{http://www.w3.org/TR/2009/WD-eventsource-20091029/,standardized as part of
                   HTML5[1] by the W3C}.")
                   (license license:expat)))

(define-public go-github-com-gin-gonic-gin
               (package
                 (name "go-github-com-gin-gonic-gin")
                 (version "1.10.0")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/gin-gonic/gin")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "01xjvw2d46b77jnszgbwqbdzh9jx7y3h5ik3q30y9dn9gaq5mhks"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/gin-gonic/gin"))
                 (propagated-inputs (list go-gopkg-in-yaml-v3
                                          go-google-golang-org-protobuf
                                          go-golang-org-x-net
                                          go-github-com-ugorji-go-codec
                                          go-github-com-stretchr-testify
                                          go-github-com-pelletier-go-toml-v2
                                          go-github-com-mattn-go-isatty
                                          go-github-com-json-iterator-go
                                          go-github-com-goccy-go-json
                                          go-github-com-go-playground-validator-v10
                                          go-github-com-gin-contrib-sse
                                          go-github-com-bytedance-sonic))
                 (home-page "https://github.com/gin-gonic/gin")
                 (synopsis "Gin Web Framework")
                 (description "Package gin implements a HTTP web framework called gin.")
                 (license license:expat)))

(define-public go-github-com-gin-contrib-cors
               (package
                 (name "go-github-com-gin-contrib-cors")
                 (version "1.7.2")
                 (source
                   (origin
                     (method git-fetch)
                     (uri (git-reference
                            (url "https://github.com/gin-contrib/cors")
                            (commit (string-append "v" version))))
                     (file-name (git-file-name name version))
                     (sha256
                       (base32 "080khaq944cbga9mplz916kg6gijfcmb07k5wpx5zdfkhc4gkjmf"))))
                 (build-system go-build-system)
                 (arguments
                   (list
                     #:import-path "github.com/gin-contrib/cors"))
                 (propagated-inputs (list go-github-com-stretchr-testify
                                          go-github-com-gin-gonic-gin))
                 (home-page "https://github.com/gin-contrib/cors")
                 (synopsis "CORS gin's middleware")
                 (description "Gin middleware/handler to enable CORS support.")
                 (license license:expat)))

(define-public go-github-com-arbovm-levenshtein
  (package
    (name "go-github-com-arbovm-levenshtein")
    (version "0.0.0-20160628152529-48b4e1c0c4d0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/arbovm/levenshtein")
             (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0nmx2iip8xpnbmy6gvqpc9ikizr33dr40xgv746h0b0by8n7rv7y"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/arbovm/levenshtein"))
    (home-page "https://github.com/arbovm/levenshtein")
    (synopsis "Levenshtein Distance")
    (description
     "@@url{http://golang.org,Go} package to calculate the
@@url{http://en.wikipedia.org/wiki/Levenshtein_distance,Levenshtein Distance}.")
    (license license:bsd-3)))

(define-public go-github-com-dgryski-trifles
  (package
    (name "go-github-com-dgryski-trifles")
    (version "0.0.0-20240922021506-5ecb8eeff266")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/dgryski/trifles")
             (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "071pnsyax99ikc58b110hdvqk1v46mqk6zdd0sshrf9lmwixwpnj"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/dgryski/trifles"))
    (home-page "https://github.com/dgryski/trifles")
    (synopsis #f)
    (description #f)
    (license license:expat)))

(define-public go-github-com-agnivade-levenshtein
  (package
    (name "go-github-com-agnivade-levenshtein")
    (version "1.2.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/agnivade/levenshtein")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0vg9aj9k4qv96nqqp261qrm9g7kj0axqhv3mm9qvw932l72943hn"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/agnivade/levenshtein"))
    (propagated-inputs (list go-github-com-dgryski-trifles
                             go-github-com-arbovm-levenshtein))
    (home-page "https://github.com/agnivade/levenshtein")
    (synopsis "levenshtein")
    (description
     "Package levenshtein is a Go implementation to calculate Levenshtein Distance.")
    (license license:expat)))

(define-public go-github-com-d4l3k-go-bfloat16
  (package
    (name "go-github-com-d4l3k-go-bfloat16")
    (version "0.0.0-20211005043715-690c3bdd05f1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/d4l3k/go-bfloat16")
             (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1bshygdr5lcagznrh349r53whqhlg870j484zpsi3f7ilqv08rvy"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/d4l3k/go-bfloat16"))
    (home-page "https://github.com/d4l3k/go-bfloat16")
    (synopsis "go-bfloat16")
    (description "BFloat16 conversion utilities for Go/Golang.")
    (license license:expat)))

(define-public go-github-com-nlpodyssey-gopickle
  (package
    (name "go-github-com-nlpodyssey-gopickle")
    (version "0.3.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/nlpodyssey/gopickle")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1fadbyq63i55g3k91knm7m1pl3j0krxdgpajrl78h27sl3mhnhal"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/nlpodyssey/gopickle"))
    (propagated-inputs (list go-golang-org-x-text))
    (home-page "https://github.com/nlpodyssey/gopickle")
    (synopsis "GoPickle")
    (description
     "@code{GoPickle} is a Go library for loading Python's data serialized with
@@code{pickle} and @code{PyTorch} module files.")
    (license license:bsd-2)))

(define-public go-github-com-census-instrumentation-opencensus-proto
  (package
    (name "go-github-com-census-instrumentation-opencensus-proto")
    (version "0.4.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/census-instrumentation/opencensus-proto")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0zda7v8fqbc2hamnwajdwr9742nznajxgcw636n570v8k5ahrymw"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/census-instrumentation/opencensus-proto"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                             go-github-com-grpc-ecosystem-grpc-gateway-v2))
    (home-page "https://github.com/census-instrumentation/opencensus-proto")
    (synopsis
     "OpenCensus Proto - Language Independent Interface Types For OpenCensus")
    (description
     "Census provides a framework to define and collect stats against metrics and to
break those stats down across user-defined dimensions.")
    (license license:asl2.0)))

(define-public go-cel-dev-expr
  (package
    (name "go-cel-dev-expr")
    (version "0.19.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/google/cel-spec")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1nllz4b6nnpiv1lg63wjyaa2v6ibb9xzqg3gypgycd26gixghi2i"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "cel.dev/expr"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-genproto-googleapis-rpc))
    (home-page "https://cel.dev/expr")
    (synopsis "Common Expression Language")
    (description
     "The Common Expression Language (CEL) implements common semantics for expression
evaluation, enabling different applications to more easily interoperate.")
    (license license:asl2.0)))

(define-public go-github-com-cncf-xds-go
  (package
    (name "go-github-com-cncf-xds-go")
    (version "0.0.0-20240905190251-b4127c9b8d78")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/cncf/xds")
             (commit (go-version->git-ref version
                                          #:subdir "go"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "04wg9722v7mgn4ndkwbahcpxkhx6hw842h2r1qfc6xrryp8l13hr"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/cncf/xds/go"
      #:unpack-path "github.com/cncf/xds"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                             go-google-golang-org-genproto-googleapis-api
                             go-github-com-envoyproxy-protoc-gen-validate
                             go-cel-dev-expr))
    (home-page "https://github.com/cncf/xds")
    (synopsis #f)
    (description #f)
    (license license:asl2.0)))

(define-public go-github-com-iancoleman-strcase
  (package
    (name "go-github-com-iancoleman-strcase")
    (version "0.3.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/iancoleman/strcase")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "169fb56kiif2gq92b7hvh9xgl2n8kjmdg4gqaa1492kb97ia8lwm"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/iancoleman/strcase"))
    (home-page "https://github.com/iancoleman/strcase")
    (synopsis "strcase")
    (description
     "Package strcase converts strings to various cases.  See the conversion table
below:.")
    (license license:expat)))

(define-public go-github-com-lyft-protoc-gen-star
  (package
    (name "go-github-com-lyft-protoc-gen-star")
    (version "2.0.3")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/lyft/protoc-gen-star")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0c0w7xlarzkmbfsxdknakmnm562q3whxgs3ck3icwrva3dim94qc"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/lyft/protoc-gen-star/v2"
      #:unpack-path "github.com/lyft/protoc-gen-star"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-golang-org-x-tools
                             go-github-com-stretchr-testify
                             go-github-com-spf13-afero))
    (home-page "https://github.com/lyft/protoc-gen-star")
    (synopsis "protoc-gen-star (PG*)")
    (description "Package pgs provides a library for building protoc plugins.")
    (license license:asl2.0)))

(define-public go-github-com-envoyproxy-protoc-gen-validate
  (package
    (name "go-github-com-envoyproxy-protoc-gen-validate")
    (version "1.1.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/bufbuild/protoc-gen-validate")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0yw8r45ykziz3bkfxi8y15kdakip8rjr2r2mqyx8ld8c12mcr3j1"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/envoyproxy/protoc-gen-validate"))
    (propagated-inputs (list go-google-golang-org-protobuf go-golang-org-x-net
                             go-github-com-lyft-protoc-gen-star-v2
                             go-github-com-iancoleman-strcase))
    (home-page "https://github.com/envoyproxy/protoc-gen-validate")
    (synopsis "protoc-gen-validate (PGV)")
    (description
     "PGV is a protoc plugin to generate polyglot message validators.  While protocol
buffers effectively guarantee the types of structured data, they cannot enforce
semantic rules for values.  This plugin adds support to protoc-generated code to
validate such constraints.")
    (license license:asl2.0)))

(define-public go-github-com-planetscale-vtprotobuf
  (package
    (name "go-github-com-planetscale-vtprotobuf")
    (version "0.6.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/planetscale/vtprotobuf")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0bms8rrg8wrm3x9mspqrzzix24vjgi3p5zzbw108ydr1rnarwblf"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/planetscale/vtprotobuf"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                             go-github-com-stretchr-testify))
    (home-page "https://github.com/planetscale/vtprotobuf")
    (synopsis ", the Vitess Protocol Buffers compiler")
    (description
     "This repository provides the @@code{protoc-gen-go-vtproto} plug-in for
@@code{protoc}, which is used by Vitess to generate optimized marshall &
unmarshal code.")
    (license license:bsd-3)))

(define-public go-github-com-antihax-optional
  (package
    (name "go-github-com-antihax-optional")
    (version "1.0.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/antihax/optional")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1ix08vl49qxr58rc6201cl97g1yznhhkwvqldslawind99js4rj0"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/antihax/optional"))
    (home-page "https://github.com/antihax/optional")
    (synopsis #f)
    (description #f)
    (license license:expat)))

(define-public go-github-com-grpc-ecosystem-grpc-gateway
  (package
    (name "go-github-com-grpc-ecosystem-grpc-gateway")
    (version "2.24.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/grpc-ecosystem/grpc-gateway")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "080zwrpnr3la6pcpixispzj1aicyw8s78nszi8zlxmj5faljhhcm"))))
    (build-system go-build-system)
    (arguments
     (list
      
      #:import-path "github.com/grpc-ecosystem/grpc-gateway/v2"
      #:unpack-path "github.com/grpc-ecosystem/grpc-gateway"))
    (propagated-inputs (list go-gopkg-in-yaml-v3
                             go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                             go-google-golang-org-genproto-googleapis-rpc
                             go-google-golang-org-genproto-googleapis-api
                             go-golang-org-x-text
                             go-golang-org-x-oauth2
                             go-github-com-rogpeppe-fastuuid
                             go-github-com-google-go-cmp
                             go-github-com-antihax-optional))
    (home-page "https://github.com/grpc-ecosystem/grpc-gateway")
    (synopsis "About")
    (description
     "The @code{gRPC-Gateway} is a plugin of the Google protocol buffers compiler
@@url{https://github.com/protocolbuffers/protobuf,protoc}.  It reads protobuf
service definitions and generates a reverse-proxy server which translates a
RESTful HTTP API into @code{gRPC}.  This server is generated according to the
@@url{https://github.com/googleapis/googleapis/raw/master/google/api/http.proto#L46,(code
google.api.http)} annotations in your service definitions.")
    (license license:bsd-3)))

(define-public go-go-opentelemetry-io-proto-otlp
  (package
    (name "go-go-opentelemetry-io-proto-otlp")
    (version "1.4.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/open-telemetry/opentelemetry-proto-go")
             (commit (go-version->git-ref version
                                          #:subdir "otlp"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1k3i92p5hf0m9j5w8sn7kpzijkkpdsm4wgv8lg8xlc08xxfm6mdr"))))
    (build-system go-build-system)
    (arguments
     (list
      
      #:import-path "go.opentelemetry.io/proto/otlp"
      #:unpack-path "go.opentelemetry.io/proto"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                             go-github-com-grpc-ecosystem-grpc-gateway-v2))
    (home-page "https://go.opentelemetry.io/proto")
    (synopsis #f)
    (description #f)
    (license license:asl2.0)))

(define-public go-google-golang-org-genproto-googleapis-api
  (package
    (name "go-google-golang-org-genproto-googleapis-api")
    (version "0.0.0-20241206012308-a4fef0638583")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/googleapis/go-genproto")
             (commit (go-version->git-ref version
                                          #:subdir "googleapis/api"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1cpwv51yzd9bhr6l3f5i2mzgfhnb7xw63xlylr8kikrwfab2phsj"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "google.golang.org/genproto/googleapis/api"
      #:unpack-path "google.golang.org/genproto"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                             go-google-golang-org-genproto-googleapis-rpc))
    (home-page "https://google.golang.org/genproto")
    (synopsis #f)
    (description #f)
    (license license:asl2.0)))

(define-public go-github-com-envoyproxy-go-control-plane
  (package
    (name "go-github-com-envoyproxy-go-control-plane")
    (version "0.13.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/envoyproxy/go-control-plane")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0wq3v5w5svk2aqnz264sq9nl79x4ag2f9w8s2s74s6y0an74fshq"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/envoyproxy/go-control-plane"))
    (propagated-inputs (list go-google-golang-org-protobuf
                        go-google-golang-org-grpc
                        go-google-golang-org-genproto-googleapis-rpc
                        go-google-golang-org-genproto-googleapis-api
                        go-go-uber-org-goleak
                        go-go-opentelemetry-io-proto-otlp
                        go-github-com-stretchr-testify
                        go-github-com-prometheus-client-model
                        go-github-com-planetscale-vtprotobuf
                        go-github-com-google-go-cmp
                        go-github-com-envoyproxy-protoc-gen-validate
                        go-github-com-cncf-xds-go
                        go-github-com-census-instrumentation-opencensus-proto))
    (home-page "https://github.com/envoyproxy/go-control-plane")
    (synopsis "control-plane")
    (description
     "This repository contains a Go-based implementation of an API server that
implements the discovery service APIs defined in
@@url{https://github.com/envoyproxy/data-plane-api,data-plane-api}.")
    (license license:asl2.0)))

(define-public go-google-golang-org-genproto-googleapis-rpc
  (package
    (name "go-google-golang-org-genproto-googleapis-rpc")
    (version "0.0.0-20241206012308-a4fef0638583")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/googleapis/go-genproto")
             (commit (go-version->git-ref version
                                          #:subdir "googleapis/rpc"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1cpwv51yzd9bhr6l3f5i2mzgfhnb7xw63xlylr8kikrwfab2phsj"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "google.golang.org/genproto/googleapis/rpc"
      #:unpack-path "google.golang.org/genproto"))
    (propagated-inputs (list go-google-golang-org-protobuf))
    (home-page "https://google.golang.org/genproto")
    (synopsis #f)
    (description #f)
    (license license:asl2.0)))

(define-public go-google-golang-org-grpc
  (package
    (name "go-google-golang-org-grpc")
    (version "1.68.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/grpc/grpc-go")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1kbrjcjgwh86999sqzzprvdjd2pnv81iv54syi6qal4lvd9j4b3x"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "google.golang.org/grpc"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-genproto-googleapis-rpc
                             go-golang-org-x-sys
                             go-golang-org-x-sync
                             go-golang-org-x-oauth2
                             go-golang-org-x-net
                             go-github-com-google-uuid
                             go-github-com-google-go-cmp
                             go-github-com-golang-protobuf
                             go-github-com-golang-glog
                             go-github-com-envoyproxy-go-control-plane
                             go-github-com-cncf-xds-go
                             go-github-com-cespare-xxhash-v2))
    (home-page "https://google.golang.org/grpc")
    (synopsis "gRPC-Go")
    (description "Package grpc implements an RPC system called @code{gRPC}.")
    (license license:asl2.0)))

(define-public go-github-com-apache-arrow-go-arrow
  (package
    (name "go-github-com-apache-arrow-go-arrow")
    (version "0.0.0-20211112161151-bc219186db40")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/apache/arrow")
             (commit (go-version->git-ref version
                                          #:subdir "go/arrow"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "03nh7c0i3y9rkkzw428knalkrlpb8syr459i00mwp072ijn8v4hx"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/apache/arrow/go/arrow"
      #:unpack-path "github.com/apache/arrow"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                                          go-github-com-gonum-gonum
                             go-golang-org-x-xerrors
                             go-golang-org-x-exp
                             go-github-com-stretchr-testify
                             go-github-com-pierrec-lz4-v4
                             go-github-com-klauspost-compress
                             go-github-com-google-flatbuffers
                             go-github-com-golang-protobuf))
    (home-page "https://github.com/apache/arrow")
    (synopsis #f)
    (description "Package arrow provides an implementation of Apache Arrow.")
    (license license:asl2.0)))

(define-public go-github-com-chewxy-hm
  (package
    (name "go-github-com-chewxy-hm")
    (version "1.0.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/chewxy/hm")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0f4qwg1q2lc9y64wrl9qxyimqnnandlqg78gn3yv4vsmyci025r7"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/chewxy/hm"))
    (home-page "https://github.com/chewxy/hm")
    (synopsis "hm")
    (description
     "Package hm is a simple Hindley-Milner type inference system in Go.  It provides
the necessary data structures and functions for creating such a system.")
    (license license:expat)))

(define-public go-github-com-google-flatbuffers
  (package
    (name "go-github-com-google-flatbuffers")
    (version "24.3.25+incompatible")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/google/flatbuffers")
             (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0q066x1h0x9225aj25jv40gxgz46yvwmiqc2g6q06mkkg1144kxq"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/google/flatbuffers"))
    (home-page "https://github.com/google/flatbuffers")
    (synopsis "FlatBuffers")
    (description
     "@@strong{@code{FlatBuffers}} is a cross platform serialization library
architected for maximum memory efficiency.  It allows you to directly access
serialized data without parsing/unpacking it first, while still having great
forwards/backwards compatibility.")
    (license license:asl2.0)))

(define-public go-go4-org-unsafe-assume-no-moving-gc
  (package
    (name "go-go4-org-unsafe-assume-no-moving-gc")
    (version "0.0.0-20231121144256-b99613f794b6")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/go4org/unsafe-assume-no-moving-gc")
             (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "00ny3qha8k9nnx37ryvls2n5r7lw3bnldz6kwdmjxk8s19mxqim7"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "go4.org/unsafe/assume-no-moving-gc"))
    (home-page "https://go4.org/unsafe/assume-no-moving-gc")
    (synopsis "go4.org/unsafe/assume-no-moving-gc")
    (description
     "Package go4.org/unsafe/assume-no-moving-gc exists so you can depend on it from
unsafe code that wants to declare that it assumes that the Go runtime does not
use a moving garbage collector.  Specifically, it asserts that the caller is
playing stupid games with the addresses of heap-allocated values.  It says
nothing about values that Go's escape analysis keeps on the stack.  Ensuring
things aren't stack-allocated is the caller's responsibility.")
    (license license:bsd-3)))

(define-public go-github-com-chewxy-math32
  (package
    (name "go-github-com-chewxy-math32")
    (version "1.11.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/chewxy/math32")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0i7jssi872mv7h4rc4y0xa88a0hsr03mydqyrd6mrm8n7q8rfml9"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/chewxy/math32"))
    (home-page "https://github.com/chewxy/math32")
    (synopsis "math32")
    (description
     "Package math32 provides basic constants and mathematical functions for float32
types.")
    (license license:bsd-2)))

(define-public go-gorgonia-org-vecf32
  (package
    (name "go-gorgonia-org-vecf32")
    (version "0.9.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/gorgonia/vecf32")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0jggbf98fbbip7znx5m4n2lqqsnw5kqycj3gcbs62ypirr1pp0m9"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "gorgonia.org/vecf32"))
    (propagated-inputs (list go-github-com-stretchr-testify
                             go-github-com-pmezard-go-difflib
                             go-github-com-davecgh-go-spew
                             go-github-com-chewxy-math32))
    (home-page "https://gorgonia.org/vecf32")
    (synopsis "vecf32")
    (description
     "Package vecf32 provides common functions and methods for slices of float32.")
    (license license:expat)))

(define-public go-gorgonia-org-vecf64
  (package
    (name "go-gorgonia-org-vecf64")
    (version "0.9.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/gorgonia/vecf64")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0a8v65cy6gyh7ww2g8q4p6dmjhcd6k7lm7z8ly4vmi4k0vq1w187"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "gorgonia.org/vecf64"))
    (propagated-inputs (list go-github-com-stretchr-testify
                             go-github-com-pmezard-go-difflib
                             go-github-com-davecgh-go-spew))
    (home-page "https://gorgonia.org/vecf64")
    (synopsis "vecf64")
    (description
     "Package vecf64 provides common functions and methods for slices of float64.")
    (license license:expat)))

(define-public go-github-com-pdevine-tensor
  (package
    (name "go-github-com-pdevine-tensor")
    (version "0.0.0-20240510204454-f88f4562727c")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/pdevine/tensor")
             (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1ibc3x2c3dybhqdfnq2rrw6zxqng3b2zkl7nldsmllljfvp39c7s"))))
    (build-system go-build-system)
    (arguments
     (list
      
      #:import-path "github.com/pdevine/tensor"))
    (propagated-inputs (list go-gorgonia-org-vecf64
                             go-gorgonia-org-vecf32
                                          go-github-com-gonum-gonum
                             go-go4-org-unsafe-assume-no-moving-gc
                             go-github-com-stretchr-testify
                             go-github-com-pkg-errors
                             go-github-com-google-flatbuffers
                             go-github-com-golang-protobuf
                             go-github-com-gogo-protobuf
                             go-github-com-chewxy-math32
                             go-github-com-chewxy-hm
                             go-github-com-apache-arrow-go-arrow))
    (home-page "https://github.com/pdevine/tensor")
    (synopsis "Package")
    (description
     "Package tensor is a package that provides efficient, generic n-dimensional
arrays in Go.  Also in this package are functions and methods that are used
commonly in arithmetic, comparison and linear algebra operations.")
    (license license:asl2.0)))

(define-public go-github-com-knz-go-libedit
  (package
    (name "go-github-com-knz-go-libedit")
    (version "1.10.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/knz/go-libedit")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "04a5ryzldsk7agybcz4rpd7g1v5vh7smawlky58bwj0341083p44"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/knz/go-libedit"))
    (home-page "https://github.com/knz/go-libedit")
    (synopsis "go-libedit")
    (description
     "Go wrapper around @@code{libedit}, a replacement to GNU readline using the BSD
license.")
    (license license:asl2.0)))

(define-public go-nullprogram-com-x-optparse
  (package
    (name "go-nullprogram-com-x-optparse")
    (version "1.0.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/skeeto/optparse-go")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1yzpzlhmxdm8gd8ikh9c91qmshjp1jg49l0qsslmm432wk19zym9"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "nullprogram.com/x/optparse"))
    (home-page "https://nullprogram.com/x/optparse")
    (synopsis "Traditional long option parser for Go")
    (description
     "Package optparse parses command line arguments very similarly to GNU
@code{getopt_long()}.  It supports long options and optional arguments, but does
not permute arguments.  It is intended as a replacement for Go's flag package.")
    (license license:unlicense)))

(define-public go-github-com-cloudwego-iasm
  (package
    (name "go-github-com-cloudwego-iasm")
    (version "0.2.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/cloudwego/iasm")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0j9jvx6ijlr2xz3am4qrz5py68xpl8np7m7yfq9m2ilkli3ksq9x"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/cloudwego/iasm"))
    (propagated-inputs (list go-nullprogram-com-x-optparse
                             go-github-com-stretchr-testify
                             go-github-com-knz-go-libedit
                             go-github-com-klauspost-cpuid-v2
                             go-github-com-davecgh-go-spew))
    (home-page "https://github.com/cloudwego/iasm")
    (synopsis "-- Interactive Assembler for Go.")
    (description "Dual-purpose assembly engine written in pure Golang.")
    (license license:asl2.0)))

(define-public go-github-com-bytedance-sonic-loader
  (package
    (name "go-github-com-bytedance-sonic-loader")
    (version "0.2.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/bytedance/sonic")
             (commit (go-version->git-ref version
                                          #:subdir "loader"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0fyjq3hr4cmai2r06ppzil314bcqz416gd1zpw7lfp9h7mcwxwa4"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/bytedance/sonic/loader"
      #:unpack-path "github.com/bytedance/sonic"))
    (propagated-inputs (list go-github-com-stretchr-testify
                             go-github-com-cloudwego-iasm))
    (home-page "https://github.com/bytedance/sonic")
    (synopsis #f)
    (description #f)
    (license license:asl2.0)))

(define-public go-github-com-cloudwego-base64x
  (package
    (name "go-github-com-cloudwego-base64x")
    (version "0.1.4")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/cloudwego/base64x")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1lgs28mj5w350vp6pazz2265hx2kab3kbjw7vnk0w1skslxbj8kx"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/cloudwego/base64x"))
    (propagated-inputs (list go-github-com-stretchr-testify
                             go-github-com-klauspost-cpuid-v2
                             go-github-com-davecgh-go-spew
                             go-github-com-bytedance-sonic-loader))
    (home-page "https://github.com/cloudwego/base64x")
    (synopsis "base64x")
    (description
     "High performance drop-in replacement of the @@code{encoding/base64} library.")
    (license (list license:asl2.0 license:asl2.0))))

(define-public go-github-com-twitchyliquid64-golang-asm
  (package
    (name "go-github-com-twitchyliquid64-golang-asm")
    (version "0.15.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/twitchyliquid64/golang-asm")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1akw41i0snxqw9lqzmnn4gx6hd5js5dr1vmfkm49wxans4k14vw4"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/twitchyliquid64/golang-asm"))
    (home-page "https://github.com/twitchyliquid64/golang-asm")
    (synopsis "golang-asm")
    (description
     "This package provides a mirror of the assembler from the Go compiler, with
import paths re-written for the assembler to be functional as a standalone
library.")
    (license license:bsd-3)))

(define-public go-rsc-io-pdf
  (package
    (name "go-rsc-io-pdf")
    (version "0.1.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/rsc/pdf")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "01qjjwa8nn5a2jzd360xqg5zc8s0i2fpwcn2w2g6y2jgn9wl8x84"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "rsc.io/pdf"))
    (home-page "https://rsc.io/pdf")
    (synopsis #f)
    (description "Package pdf implements reading of PDF files.")
    (license license:bsd-3)))

(define-public go-golang-org-x-arch
  (package
    (name "go-golang-org-x-arch")
    (version "0.12.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://go.googlesource.com/arch")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "104mnfx3v6lwjndjd35ly8r6yb4bb74lq5sq1cqpxw38mqyzqmx2"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "golang.org/x/arch"))
    (propagated-inputs (list go-rsc-io-pdf))
    (home-page "https://golang.org/x/arch")
    (synopsis "arch")
    (description
     "This repository holds machine architecture information used by the Go toolchain.
 The parts needed in the main Go repository are copied in.")
    (license license:bsd-3)))

(define-public go-github-com-bytedance-sonic
  (package
    (name "go-github-com-bytedance-sonic")
    (version "1.12.5")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/bytedance/sonic")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1r5i12vagkf7611v39k2s8dqp7dp7d4ld3qr247j5m8zv0xcki0m"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/bytedance/sonic"))
    (propagated-inputs (list go-golang-org-x-arch
                             go-github-com-twitchyliquid64-golang-asm
                             go-github-com-stretchr-testify
                             go-github-com-klauspost-cpuid-v2
                             go-github-com-davecgh-go-spew
                             go-github-com-cloudwego-base64x
                             go-github-com-bytedance-sonic-loader))
    (home-page "https://github.com/bytedance/sonic")
    (synopsis "Sonic")
    (description
     "English |
@@url{https://github.com/bytedance/sonic/blob/v1.12.5/README_ZH_CN.md,中文}.")
    (license license:asl2.0)))

(define-public go-github-com-gin-contrib-sse
  (package
    (name "go-github-com-gin-contrib-sse")
    (version "0.1.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/gin-contrib/sse")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "072nq91a65n5xvwslqjyvydfd0mfpnvb3vwjyfvmzm1ym96wr1nd"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/gin-contrib/sse"))
    (propagated-inputs (list go-github-com-stretchr-testify))
    (home-page "https://github.com/gin-contrib/sse")
    (synopsis "Server-Sent Events")
    (description
     "Server-sent events (SSE) is a technology where a browser receives automatic
updates from a server via HTTP connection.  The Server-Sent Events
@code{EventSource} API is
@@url{http://www.w3.org/TR/2009/WD-eventsource-20091029/,standardized as part of
HTML5[1] by the W3C}.")
    (license license:expat)))

(define-public go-github-com-gin-gonic-gin
  (package
    (name "go-github-com-gin-gonic-gin")
    (version "1.10.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/gin-gonic/gin")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "01xjvw2d46b77jnszgbwqbdzh9jx7y3h5ik3q30y9dn9gaq5mhks"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/gin-gonic/gin"))
    (propagated-inputs (list go-gopkg-in-yaml-v3
                             go-google-golang-org-protobuf
                             go-golang-org-x-net
                             go-github-com-ugorji-go-codec
                             go-github-com-stretchr-testify
                             go-github-com-pelletier-go-toml-v2
                             go-github-com-mattn-go-isatty
                             go-github-com-json-iterator-go
                             go-github-com-goccy-go-json
                             go-github-com-go-playground-validator-v10
                             go-github-com-gin-contrib-sse
                             go-github-com-bytedance-sonic))
    (home-page "https://github.com/gin-gonic/gin")
    (synopsis "Gin Web Framework")
    (description "Package gin implements a HTTP web framework called gin.")
    (license license:expat)))

(define-public go-github-com-gin-contrib-cors
  (package
    (name "go-github-com-gin-contrib-cors")
    (version "1.7.2")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/gin-contrib/cors")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "080khaq944cbga9mplz916kg6gijfcmb07k5wpx5zdfkhc4gkjmf"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/gin-contrib/cors"))
    (propagated-inputs (list go-github-com-stretchr-testify
                             go-github-com-gin-gonic-gin))
    (home-page "https://github.com/gin-contrib/cors")
    (synopsis "CORS gin's middleware")
    (description "Gin middleware/handler to enable CORS support.")
    (license license:expat)))
(define-public go-github-com-arbovm-levenshtein
  (package
    (name "go-github-com-arbovm-levenshtein")
    (version "0.0.0-20160628152529-48b4e1c0c4d0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/arbovm/levenshtein")
             (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0nmx2iip8xpnbmy6gvqpc9ikizr33dr40xgv746h0b0by8n7rv7y"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/arbovm/levenshtein"))
    (home-page "https://github.com/arbovm/levenshtein")
    (synopsis "Levenshtein Distance")
    (description
     "@@url{http://golang.org,Go} package to calculate the
@@url{http://en.wikipedia.org/wiki/Levenshtein_distance,Levenshtein Distance}.")
    (license license:bsd-3)))

(define-public go-github-com-dgryski-trifles
  (package
    (name "go-github-com-dgryski-trifles")
    (version "0.0.0-20240922021506-5ecb8eeff266")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/dgryski/trifles")
             (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "071pnsyax99ikc58b110hdvqk1v46mqk6zdd0sshrf9lmwixwpnj"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/dgryski/trifles"))
    (home-page "https://github.com/dgryski/trifles")
    (synopsis #f)
    (description #f)
    (license license:expat)))

(define-public go-github-com-agnivade-levenshtein
  (package
    (name "go-github-com-agnivade-levenshtein")
    (version "1.2.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/agnivade/levenshtein")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0vg9aj9k4qv96nqqp261qrm9g7kj0axqhv3mm9qvw932l72943hn"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/agnivade/levenshtein"))
    (propagated-inputs (list go-github-com-dgryski-trifles
                             go-github-com-arbovm-levenshtein))
    (home-page "https://github.com/agnivade/levenshtein")
    (synopsis "levenshtein")
    (description
     "Package levenshtein is a Go implementation to calculate Levenshtein Distance.")
    (license license:expat)))

(define-public go-github-com-d4l3k-go-bfloat16
  (package
    (name "go-github-com-d4l3k-go-bfloat16")
    (version "0.0.0-20211005043715-690c3bdd05f1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/d4l3k/go-bfloat16")
             (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1bshygdr5lcagznrh349r53whqhlg870j484zpsi3f7ilqv08rvy"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/d4l3k/go-bfloat16"))
    (home-page "https://github.com/d4l3k/go-bfloat16")
    (synopsis "go-bfloat16")
    (description "BFloat16 conversion utilities for Go/Golang.")
    (license license:expat)))

(define-public go-github-com-nlpodyssey-gopickle
  (package
    (name "go-github-com-nlpodyssey-gopickle")
    (version "0.3.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/nlpodyssey/gopickle")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1fadbyq63i55g3k91knm7m1pl3j0krxdgpajrl78h27sl3mhnhal"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/nlpodyssey/gopickle"))
    (propagated-inputs (list go-golang-org-x-text))
    (home-page "https://github.com/nlpodyssey/gopickle")
    (synopsis "GoPickle")
    (description
     "@code{GoPickle} is a Go library for loading Python's data serialized with
@@code{pickle} and @code{PyTorch} module files.")
    (license license:bsd-2)))

(define-public go-github-com-census-instrumentation-opencensus-proto
  (package
    (name "go-github-com-census-instrumentation-opencensus-proto")
    (version "0.4.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/census-instrumentation/opencensus-proto")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0zda7v8fqbc2hamnwajdwr9742nznajxgcw636n570v8k5ahrymw"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/census-instrumentation/opencensus-proto"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                             go-github-com-grpc-ecosystem-grpc-gateway-v2))
    (home-page "https://github.com/census-instrumentation/opencensus-proto")
    (synopsis
     "OpenCensus Proto - Language Independent Interface Types For OpenCensus")
    (description
     "Census provides a framework to define and collect stats against metrics and to
break those stats down across user-defined dimensions.")
    (license license:asl2.0)))

(define-public go-cel-dev-expr
  (package
    (name "go-cel-dev-expr")
    (version "0.19.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/google/cel-spec")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1nllz4b6nnpiv1lg63wjyaa2v6ibb9xzqg3gypgycd26gixghi2i"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "cel.dev/expr"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-genproto-googleapis-rpc))
    (home-page "https://cel.dev/expr")
    (synopsis "Common Expression Language")
    (description
     "The Common Expression Language (CEL) implements common semantics for expression
evaluation, enabling different applications to more easily interoperate.")
    (license license:asl2.0)))

(define-public go-github-com-cncf-xds-go
  (package
    (name "go-github-com-cncf-xds-go")
    (version "0.0.0-20240905190251-b4127c9b8d78")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/cncf/xds")
             (commit (go-version->git-ref version
                                          #:subdir "go"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "04wg9722v7mgn4ndkwbahcpxkhx6hw842h2r1qfc6xrryp8l13hr"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/cncf/xds/go"
      #:unpack-path "github.com/cncf/xds"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                             go-google-golang-org-genproto-googleapis-api
                             go-github-com-envoyproxy-protoc-gen-validate
                             go-cel-dev-expr))
    (home-page "https://github.com/cncf/xds")
    (synopsis #f)
    (description #f)
    (license license:asl2.0)))

(define-public go-github-com-iancoleman-strcase
  (package
    (name "go-github-com-iancoleman-strcase")
    (version "0.3.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/iancoleman/strcase")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "169fb56kiif2gq92b7hvh9xgl2n8kjmdg4gqaa1492kb97ia8lwm"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/iancoleman/strcase"))
    (home-page "https://github.com/iancoleman/strcase")
    (synopsis "strcase")
    (description
     "Package strcase converts strings to various cases.  See the conversion table
below:.")
    (license license:expat)))

(define-public go-github-com-lyft-protoc-gen-star
  (package
    (name "go-github-com-lyft-protoc-gen-star")
    (version "2.0.3")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/lyft/protoc-gen-star")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0c0w7xlarzkmbfsxdknakmnm562q3whxgs3ck3icwrva3dim94qc"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/lyft/protoc-gen-star/v2"
      #:unpack-path "github.com/lyft/protoc-gen-star"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-golang-org-x-tools
                             go-github-com-stretchr-testify
                             go-github-com-spf13-afero))
    (home-page "https://github.com/lyft/protoc-gen-star")
    (synopsis "protoc-gen-star (PG*)")
    (description "Package pgs provides a library for building protoc plugins.")
    (license license:asl2.0)))

(define-public go-github-com-envoyproxy-protoc-gen-validate
  (package
    (name "go-github-com-envoyproxy-protoc-gen-validate")
    (version "1.1.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/bufbuild/protoc-gen-validate")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0yw8r45ykziz3bkfxi8y15kdakip8rjr2r2mqyx8ld8c12mcr3j1"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/envoyproxy/protoc-gen-validate"))
    (propagated-inputs (list go-google-golang-org-protobuf go-golang-org-x-net
                             go-github-com-lyft-protoc-gen-star-v2
                             go-github-com-iancoleman-strcase))
    (home-page "https://github.com/envoyproxy/protoc-gen-validate")
    (synopsis "protoc-gen-validate (PGV)")
    (description
     "PGV is a protoc plugin to generate polyglot message validators.  While protocol
buffers effectively guarantee the types of structured data, they cannot enforce
semantic rules for values.  This plugin adds support to protoc-generated code to
validate such constraints.")
    (license license:asl2.0)))

(define-public go-github-com-planetscale-vtprotobuf
  (package
    (name "go-github-com-planetscale-vtprotobuf")
    (version "0.6.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/planetscale/vtprotobuf")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0bms8rrg8wrm3x9mspqrzzix24vjgi3p5zzbw108ydr1rnarwblf"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/planetscale/vtprotobuf"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                             go-github-com-stretchr-testify))
    (home-page "https://github.com/planetscale/vtprotobuf")
    (synopsis ", the Vitess Protocol Buffers compiler")
    (description
     "This repository provides the @@code{protoc-gen-go-vtproto} plug-in for
@@code{protoc}, which is used by Vitess to generate optimized marshall &
unmarshal code.")
    (license license:bsd-3)))

(define-public go-github-com-antihax-optional
  (package
    (name "go-github-com-antihax-optional")
    (version "1.0.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/antihax/optional")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1ix08vl49qxr58rc6201cl97g1yznhhkwvqldslawind99js4rj0"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/antihax/optional"))
    (home-page "https://github.com/antihax/optional")
    (synopsis #f)
    (description #f)
    (license license:expat)))

(define-public go-github-com-grpc-ecosystem-grpc-gateway
  (package
    (name "go-github-com-grpc-ecosystem-grpc-gateway")
    (version "2.24.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/grpc-ecosystem/grpc-gateway")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "080zwrpnr3la6pcpixispzj1aicyw8s78nszi8zlxmj5faljhhcm"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/grpc-ecosystem/grpc-gateway/v2"
      #:unpack-path "github.com/grpc-ecosystem/grpc-gateway"))
    (propagated-inputs (list go-gopkg-in-yaml-v3
                             go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                             go-google-golang-org-genproto-googleapis-rpc
                             go-google-golang-org-genproto-googleapis-api
                             go-golang-org-x-text
                             go-golang-org-x-oauth2
                             go-github-com-rogpeppe-fastuuid
                             go-github-com-google-go-cmp
                             go-github-com-antihax-optional))
    (home-page "https://github.com/grpc-ecosystem/grpc-gateway")
    (synopsis "About")
    (description
     "The @code{gRPC-Gateway} is a plugin of the Google protocol buffers compiler
@@url{https://github.com/protocolbuffers/protobuf,protoc}.  It reads protobuf
service definitions and generates a reverse-proxy server which translates a
RESTful HTTP API into @code{gRPC}.  This server is generated according to the
@@url{https://github.com/googleapis/googleapis/raw/master/google/api/http.proto#L46,(code
google.api.http)} annotations in your service definitions.")
    (license license:bsd-3)))

(define-public go-go-opentelemetry-io-proto-otlp
  (package
    (name "go-go-opentelemetry-io-proto-otlp")
    (version "1.4.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/open-telemetry/opentelemetry-proto-go")
             (commit (go-version->git-ref version
                                          #:subdir "otlp"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1k3i92p5hf0m9j5w8sn7kpzijkkpdsm4wgv8lg8xlc08xxfm6mdr"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "go.opentelemetry.io/proto/otlp"
      #:unpack-path "go.opentelemetry.io/proto"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                             go-github-com-grpc-ecosystem-grpc-gateway-v2))
    (home-page "https://go.opentelemetry.io/proto")
    (synopsis #f)
    (description #f)
    (license license:asl2.0)))

(define-public go-google-golang-org-genproto-googleapis-api
  (package
    (name "go-google-golang-org-genproto-googleapis-api")
    (version "0.0.0-20241206012308-a4fef0638583")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/googleapis/go-genproto")
             (commit (go-version->git-ref version
                                          #:subdir "googleapis/api"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1cpwv51yzd9bhr6l3f5i2mzgfhnb7xw63xlylr8kikrwfab2phsj"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "google.golang.org/genproto/googleapis/api"
      #:unpack-path "google.golang.org/genproto"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                             go-google-golang-org-genproto-googleapis-rpc))
    (home-page "https://google.golang.org/genproto")
    (synopsis #f)
    (description #f)
    (license license:asl2.0)))

(define-public go-github-com-envoyproxy-go-control-plane
  (package
    (name "go-github-com-envoyproxy-go-control-plane")
    (version "0.13.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/envoyproxy/go-control-plane")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0wq3v5w5svk2aqnz264sq9nl79x4ag2f9w8s2s74s6y0an74fshq"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/envoyproxy/go-control-plane"))
    (propagated-inputs (list go-google-golang-org-protobuf
                        go-google-golang-org-grpc
                        go-google-golang-org-genproto-googleapis-rpc
                        go-google-golang-org-genproto-googleapis-api
                        go-go-uber-org-goleak
                        go-go-opentelemetry-io-proto-otlp
                        go-github-com-stretchr-testify
                        go-github-com-prometheus-client-model
                        go-github-com-planetscale-vtprotobuf
                        go-github-com-google-go-cmp
                        go-github-com-envoyproxy-protoc-gen-validate
                        go-github-com-cncf-xds-go
                        go-github-com-census-instrumentation-opencensus-proto))
    (home-page "https://github.com/envoyproxy/go-control-plane")
    (synopsis "control-plane")
    (description
     "This repository contains a Go-based implementation of an API server that
implements the discovery service APIs defined in
@@url{https://github.com/envoyproxy/data-plane-api,data-plane-api}.")
    (license license:asl2.0)))

(define-public go-google-golang-org-genproto-googleapis-rpc
  (package
    (name "go-google-golang-org-genproto-googleapis-rpc")
    (version "0.0.0-20241206012308-a4fef0638583")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/googleapis/go-genproto")
             (commit (go-version->git-ref version
                                          #:subdir "googleapis/rpc"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1cpwv51yzd9bhr6l3f5i2mzgfhnb7xw63xlylr8kikrwfab2phsj"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "google.golang.org/genproto/googleapis/rpc"
      #:unpack-path "google.golang.org/genproto"))
    (propagated-inputs (list go-google-golang-org-protobuf))
    (home-page "https://google.golang.org/genproto")
    (synopsis #f)
    (description #f)
    (license license:asl2.0)))

(define-public go-google-golang-org-grpc
  (package
    (name "go-google-golang-org-grpc")
    (version "1.68.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/grpc/grpc-go")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1kbrjcjgwh86999sqzzprvdjd2pnv81iv54syi6qal4lvd9j4b3x"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "google.golang.org/grpc"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-genproto-googleapis-rpc
                             go-golang-org-x-sys
                             go-golang-org-x-sync
                             go-golang-org-x-oauth2
                             go-golang-org-x-net
                             go-github-com-google-uuid
                             go-github-com-google-go-cmp
                             go-github-com-golang-protobuf
                             go-github-com-golang-glog
                             go-github-com-envoyproxy-go-control-plane
                             go-github-com-cncf-xds-go
                             go-github-com-cespare-xxhash-v2))
    (home-page "https://google.golang.org/grpc")
    (synopsis "gRPC-Go")
    (description "Package grpc implements an RPC system called @code{gRPC}.")
    (license license:asl2.0)))

(define-public go-github-com-apache-arrow-go-arrow
  (package
    (name "go-github-com-apache-arrow-go-arrow")
    (version "0.0.0-20211112161151-bc219186db40")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/apache/arrow")
             (commit (go-version->git-ref version
                                          #:subdir "go/arrow"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "03nh7c0i3y9rkkzw428knalkrlpb8syr459i00mwp072ijn8v4hx"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/apache/arrow/go/arrow"
      #:unpack-path "github.com/apache/arrow"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-google-golang-org-grpc
                             go-gonum-org-v1-gonum
                             go-golang-org-x-xerrors
                             go-golang-org-x-exp
                             go-github-com-stretchr-testify
                             go-github-com-pierrec-lz4-v4
                             go-github-com-klauspost-compress
                             go-github-com-google-flatbuffers
                             go-github-com-golang-protobuf))
    (home-page "https://github.com/apache/arrow")
    (synopsis #f)
    (description "Package arrow provides an implementation of Apache Arrow.")
    (license #f)))

(define-public go-github-com-chewxy-hm
  (package
    (name "go-github-com-chewxy-hm")
    (version "1.0.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/chewxy/hm")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0f4qwg1q2lc9y64wrl9qxyimqnnandlqg78gn3yv4vsmyci025r7"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/chewxy/hm"))
    (home-page "https://github.com/chewxy/hm")
    (synopsis "hm")
    (description
     "Package hm is a simple Hindley-Milner type inference system in Go.  It provides
the necessary data structures and functions for creating such a system.")
    (license license:expat)))

(define-public go-github-com-google-flatbuffers
  (package
    (name "go-github-com-google-flatbuffers")
    (version "24.3.25+incompatible")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/google/flatbuffers")
             (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0q066x1h0x9225aj25jv40gxgz46yvwmiqc2g6q06mkkg1144kxq"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/google/flatbuffers"))
    (home-page "https://github.com/google/flatbuffers")
    (synopsis "FlatBuffers")
    (description
     "@@strong{@code{FlatBuffers}} is a cross platform serialization library
architected for maximum memory efficiency.  It allows you to directly access
serialized data without parsing/unpacking it first, while still having great
forwards/backwards compatibility.")
    (license license:asl2.0)))

(define-public go-go4-org-unsafe-assume-no-moving-gc
  (package
    (name "go-go4-org-unsafe-assume-no-moving-gc")
    (version "0.0.0-20231121144256-b99613f794b6")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/go4org/unsafe-assume-no-moving-gc")
             (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "00ny3qha8k9nnx37ryvls2n5r7lw3bnldz6kwdmjxk8s19mxqim7"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "go4.org/unsafe/assume-no-moving-gc"))
    (home-page "https://go4.org/unsafe/assume-no-moving-gc")
    (synopsis "go4.org/unsafe/assume-no-moving-gc")
    (description
     "Package go4.org/unsafe/assume-no-moving-gc exists so you can depend on it from
unsafe code that wants to declare that it assumes that the Go runtime does not
use a moving garbage collector.  Specifically, it asserts that the caller is
playing stupid games with the addresses of heap-allocated values.  It says
nothing about values that Go's escape analysis keeps on the stack.  Ensuring
things aren't stack-allocated is the caller's responsibility.")
    (license license:bsd-3)))

(define-public go-github-com-chewxy-math32
  (package
    (name "go-github-com-chewxy-math32")
    (version "1.11.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/chewxy/math32")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0i7jssi872mv7h4rc4y0xa88a0hsr03mydqyrd6mrm8n7q8rfml9"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/chewxy/math32"))
    (home-page "https://github.com/chewxy/math32")
    (synopsis "math32")
    (description
     "Package math32 provides basic constants and mathematical functions for float32
types.")
    (license license:bsd-2)))

(define-public go-gorgonia-org-vecf32
  (package
    (name "go-gorgonia-org-vecf32")
    (version "0.9.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/gorgonia/vecf32")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0jggbf98fbbip7znx5m4n2lqqsnw5kqycj3gcbs62ypirr1pp0m9"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "gorgonia.org/vecf32"))
    (propagated-inputs (list go-github-com-stretchr-testify
                             go-github-com-pmezard-go-difflib
                             go-github-com-davecgh-go-spew
                             go-github-com-chewxy-math32))
    (home-page "https://gorgonia.org/vecf32")
    (synopsis "vecf32")
    (description
     "Package vecf32 provides common functions and methods for slices of float32.")
    (license license:expat)))

(define-public go-gorgonia-org-vecf64
  (package
    (name "go-gorgonia-org-vecf64")
    (version "0.9.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/gorgonia/vecf64")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0a8v65cy6gyh7ww2g8q4p6dmjhcd6k7lm7z8ly4vmi4k0vq1w187"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "gorgonia.org/vecf64"))
    (propagated-inputs (list go-github-com-stretchr-testify
                             go-github-com-pmezard-go-difflib
                             go-github-com-davecgh-go-spew))
    (home-page "https://gorgonia.org/vecf64")
    (synopsis "vecf64")
    (description
     "Package vecf64 provides common functions and methods for slices of float64.")
    (license license:expat)))

(define-public go-github-com-pdevine-tensor
  (package
    (name "go-github-com-pdevine-tensor")
    (version "0.0.0-20240510204454-f88f4562727c")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/pdevine/tensor")
             (commit (go-version->git-ref version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1ibc3x2c3dybhqdfnq2rrw6zxqng3b2zkl7nldsmllljfvp39c7s"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/pdevine/tensor"))
    (propagated-inputs (list go-gorgonia-org-vecf64
                             go-gorgonia-org-vecf32
                             go-gonum-org-v1-gonum
                             go-go4-org-unsafe-assume-no-moving-gc
                             go-github-com-stretchr-testify
                             go-github-com-pkg-errors
                             go-github-com-google-flatbuffers
                             go-github-com-golang-protobuf
                             go-github-com-gogo-protobuf
                             go-github-com-chewxy-math32
                             go-github-com-chewxy-hm
                             go-github-com-apache-arrow-go-arrow))
    (home-page "https://github.com/pdevine/tensor")
    (synopsis "Package")
    (description
     "Package tensor is a package that provides efficient, generic n-dimensional
arrays in Go.  Also in this package are functions and methods that are used
commonly in arithmetic, comparison and linear algebra operations.")
    (license license:asl2.0)))

(define-public go-github-com-knz-go-libedit
  (package
    (name "go-github-com-knz-go-libedit")
    (version "1.10.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/knz/go-libedit")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "04a5ryzldsk7agybcz4rpd7g1v5vh7smawlky58bwj0341083p44"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/knz/go-libedit"))
    (home-page "https://github.com/knz/go-libedit")
    (synopsis "go-libedit")
    (description
     "Go wrapper around @@code{libedit}, a replacement to GNU readline using the BSD
license.")
    (license license:asl2.0)))

(define-public go-nullprogram-com-x-optparse
  (package
    (name "go-nullprogram-com-x-optparse")
    (version "1.0.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/skeeto/optparse-go")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1yzpzlhmxdm8gd8ikh9c91qmshjp1jg49l0qsslmm432wk19zym9"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "nullprogram.com/x/optparse"))
    (home-page "https://nullprogram.com/x/optparse")
    (synopsis "Traditional long option parser for Go")
    (description
     "Package optparse parses command line arguments very similarly to GNU
@code{getopt_long()}.  It supports long options and optional arguments, but does
not permute arguments.  It is intended as a replacement for Go's flag package.")
    (license license:unlicense)))

(define-public go-github-com-cloudwego-iasm
  (package
    (name "go-github-com-cloudwego-iasm")
    (version "0.2.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/cloudwego/iasm")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0j9jvx6ijlr2xz3am4qrz5py68xpl8np7m7yfq9m2ilkli3ksq9x"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/cloudwego/iasm"))
    (propagated-inputs (list go-nullprogram-com-x-optparse
                             go-github-com-stretchr-testify
                             go-github-com-knz-go-libedit
                             go-github-com-klauspost-cpuid-v2
                             go-github-com-davecgh-go-spew))
    (home-page "https://github.com/cloudwego/iasm")
    (synopsis "-- Interactive Assembler for Go.")
    (description "Dual-purpose assembly engine written in pure Golang.")
    (license license:asl2.0)))

(define-public go-github-com-bytedance-sonic-loader
  (package
    (name "go-github-com-bytedance-sonic-loader")
    (version "0.2.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/bytedance/sonic")
             (commit (go-version->git-ref version
                                          #:subdir "loader"))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0fyjq3hr4cmai2r06ppzil314bcqz416gd1zpw7lfp9h7mcwxwa4"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/bytedance/sonic/loader"
      #:unpack-path "github.com/bytedance/sonic"))
    (propagated-inputs (list go-github-com-stretchr-testify
                             go-github-com-cloudwego-iasm))
    (home-page "https://github.com/bytedance/sonic")
    (synopsis #f)
    (description #f)
    (license license:asl2.0)))

(define-public go-github-com-cloudwego-base64x
  (package
    (name "go-github-com-cloudwego-base64x")
    (version "0.1.4")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/cloudwego/base64x")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1lgs28mj5w350vp6pazz2265hx2kab3kbjw7vnk0w1skslxbj8kx"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/cloudwego/base64x"))
    (propagated-inputs (list go-github-com-stretchr-testify
                             go-github-com-klauspost-cpuid-v2
                             go-github-com-davecgh-go-spew
                             go-github-com-bytedance-sonic-loader))
    (home-page "https://github.com/cloudwego/base64x")
    (synopsis "base64x")
    (description
     "High performance drop-in replacement of the @@code{encoding/base64} library.")
    (license (list license:asl2.0 license:asl2.0))))

(define-public go-github-com-twitchyliquid64-golang-asm
  (package
    (name "go-github-com-twitchyliquid64-golang-asm")
    (version "0.15.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/twitchyliquid64/golang-asm")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1akw41i0snxqw9lqzmnn4gx6hd5js5dr1vmfkm49wxans4k14vw4"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/twitchyliquid64/golang-asm"))
    (home-page "https://github.com/twitchyliquid64/golang-asm")
    (synopsis "golang-asm")
    (description
     "This package provides a mirror of the assembler from the Go compiler, with
import paths re-written for the assembler to be functional as a standalone
library.")
    (license license:bsd-3)))

(define-public go-rsc-io-pdf
  (package
    (name "go-rsc-io-pdf")
    (version "0.1.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/rsc/pdf")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "01qjjwa8nn5a2jzd360xqg5zc8s0i2fpwcn2w2g6y2jgn9wl8x84"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "rsc.io/pdf"))
    (home-page "https://rsc.io/pdf")
    (synopsis #f)
    (description "Package pdf implements reading of PDF files.")
    (license license:bsd-3)))

(define-public go-golang-org-x-arch
  (package
    (name "go-golang-org-x-arch")
    (version "0.12.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://go.googlesource.com/arch")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "104mnfx3v6lwjndjd35ly8r6yb4bb74lq5sq1cqpxw38mqyzqmx2"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "golang.org/x/arch"))
    (propagated-inputs (list go-rsc-io-pdf))
    (home-page "https://golang.org/x/arch")
    (synopsis "arch")
    (description
     "This repository holds machine architecture information used by the Go toolchain.
 The parts needed in the main Go repository are copied in.")
    (license license:bsd-3)))

(define-public go-github-com-bytedance-sonic
  (package
    (name "go-github-com-bytedance-sonic")
    (version "1.12.5")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/bytedance/sonic")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1r5i12vagkf7611v39k2s8dqp7dp7d4ld3qr247j5m8zv0xcki0m"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/bytedance/sonic"))
    (propagated-inputs (list go-golang-org-x-arch
                             go-github-com-twitchyliquid64-golang-asm
                             go-github-com-stretchr-testify
                             go-github-com-klauspost-cpuid-v2
                             go-github-com-davecgh-go-spew
                             go-github-com-cloudwego-base64x
                             go-github-com-bytedance-sonic-loader))
    (home-page "https://github.com/bytedance/sonic")
    (synopsis "Sonic")
    (description
     "English |
@@url{https://github.com/bytedance/sonic/blob/v1.12.5/README_ZH_CN.md,中文}.")
    (license license:asl2.0)))

(define-public go-github-com-gin-contrib-sse
  (package
    (name "go-github-com-gin-contrib-sse")
    (version "0.1.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/gin-contrib/sse")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "072nq91a65n5xvwslqjyvydfd0mfpnvb3vwjyfvmzm1ym96wr1nd"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/gin-contrib/sse"))
    (propagated-inputs (list go-github-com-stretchr-testify))
    (home-page "https://github.com/gin-contrib/sse")
    (synopsis "Server-Sent Events")
    (description
     "Server-sent events (SSE) is a technology where a browser receives automatic
updates from a server via HTTP connection.  The Server-Sent Events
@code{EventSource} API is
@@url{http://www.w3.org/TR/2009/WD-eventsource-20091029/,standardized as part of
HTML5[1] by the W3C}.")
    (license license:expat)))

(define-public go-github-com-gin-gonic-gin
  (package
    (name "go-github-com-gin-gonic-gin")
    (version "1.10.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/gin-gonic/gin")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "01xjvw2d46b77jnszgbwqbdzh9jx7y3h5ik3q30y9dn9gaq5mhks"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/gin-gonic/gin"))
    (propagated-inputs (list go-gopkg-in-yaml-v3
                             go-google-golang-org-protobuf
                             go-golang-org-x-net
                             go-github-com-ugorji-go-codec
                             go-github-com-stretchr-testify
                             go-github-com-pelletier-go-toml-v2
                             go-github-com-mattn-go-isatty
                             go-github-com-json-iterator-go
                             go-github-com-goccy-go-json
                             go-github-com-go-playground-validator-v10
                             go-github-com-gin-contrib-sse
                             go-github-com-bytedance-sonic))
    (home-page "https://github.com/gin-gonic/gin")
    (synopsis "Gin Web Framework")
    (description "Package gin implements a HTTP web framework called gin.")
    (license license:expat)))

(define-public go-github-com-gin-contrib-cors
  (package
    (name "go-github-com-gin-contrib-cors")
    (version "1.7.2")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/gin-contrib/cors")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "080khaq944cbga9mplz916kg6gijfcmb07k5wpx5zdfkhc4gkjmf"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/gin-contrib/cors"))
    (propagated-inputs (list go-github-com-stretchr-testify
                             go-github-com-gin-gonic-gin))
    (home-page "https://github.com/gin-contrib/cors")
    (synopsis "CORS gin's middleware")
    (description "Gin middleware/handler to enable CORS support.")
    (license license:expat)))

(define-public ollama
  (package
    (name "ollama")
    (version "0.5.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/ollama/ollama")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1xp8vas0n7w6qs1y0gmxn1qmkaw2zn4q5akppbv3gmhangz0lnwn"))))
    (build-system go-build-system)
    (arguments
     (list
      #:import-path "github.com/ollama/ollama"))
    (propagated-inputs (list go-google-golang-org-protobuf
                             go-golang-org-x-text
                             go-golang-org-x-term
                             go-golang-org-x-sys
                             go-golang-org-x-exp
                             go-golang-org-x-crypto
                             go-github-com-gin-contrib-cors
                             go-golang-org-x-image
                             go-github-com-pdevine-tensor
                             go-github-com-nlpodyssey-gopickle
                             go-github-com-mattn-go-runewidth
                             go-github-com-google-go-cmp
                             go-github-com-d4l3k-go-bfloat16
                             go-github-com-agnivade-levenshtein
                             go-golang-org-x-sync
                             go-github-com-x448-float16
                             go-github-com-stretchr-testify
                             go-github-com-spf13-cobra
                             go-github-com-olekukonko-tablewriter
                             go-github-com-google-uuid
                             go-github-com-gin-gonic-gin
                             go-github-com-emirpasic-gods
                             go-github-com-containerd-console))
    (home-page "https://github.com/ollama/ollama")
    (synopsis "Ollama")
    (description "Get up and running with large language models.")
    (license license:expat)))