-
Notifications
You must be signed in to change notification settings - Fork 1
/
hugo.scm
2100 lines (2025 loc) · 78.3 KB
/
hugo.scm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;;; Copyright © 2020 Ryan Prior <[email protected]>
(define-module (testing hugo)
#:use-module (gnu packages base)
#:use-module (gnu packages golang)
#:use-module (gnu packages protobuf)
#:use-module (gnu packages rpc)
#:use-module (gnu packages syncthing)
#:use-module (gnu packages version-control)
#:use-module (gnu packages web)
#:use-module (guix build-system go)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages))
(define-public go-github-com-puerkitobio-urlesc
(package
(name "go-github-com-puerkitobio-urlesc")
(version "de5bf2ad457846296e2031421a34e2568e304e35")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/PuerkitoBio/urlesc")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0n0srpqwbaan1wrhh2b7ysz543pjs1xw2rghvqyffg9l0g8kzgcw"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/PuerkitoBio/urlesc"))
(home-page "https://github.com/PuerkitoBio/urlesc")
(synopsis "Implements query escaping as per RFC 3986")
(description
"This package escapes queries as per RFC 3986. It contains some parts of
the @code{net/url} package, modified so as to allow some reserved characters
incorrectly escaped by net/url.")
(license license:expat)))
(define-public go-github-com-puerkitobio-purell
(package
(name "go-github-com-puerkitobio-purell")
(version "1.1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/PuerkitoBio/purell")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0c525frsxmalrn55hzzsxy17ng8avkd40ga0wxfw9haxsdjgqdqy"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/PuerkitoBio/purell"))
(propagated-inputs
`(("go-github-com-puerkitobio-urlesc" ,go-github-com-puerkitobio-urlesc)
("go-golang-org-x-net" ,go-golang-org-x-net)
("go-golang-org-x-text" ,go-golang-org-x-text)))
(home-page "https://github.com/PuerkitoBio/purell")
(synopsis "Normalizes URLs")
(description
"This package provides a library to normalize URLs. It returns a pure
URL (a Pure-ell.) Based on the Wikipedia article for URLs and RFC 3986.")
(license license:expat)))
(define-public go-github-com-armon-go-radix
(package
(name "go-github-com-armon-go-radix")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/armon/go-radix")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1m1k0jz9gjfrk4m7hjm7p03qmviamfgxwm2ghakqxw3hdds8v503"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/armon/go-radix"))
(home-page "https://github.com/armon/go-radix")
(synopsis "Package that implements a radix tree")
(description
"This package provides a single radix tree implementation optimized for
sparse nodes.")
(license license:expat)))
(define-public go-github-com-go-sql-driver-mysql
(package
(name "go-github-com-go-sql-driver-mysql")
(version "1.5.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/go-sql-driver/mysql")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"11x0m9yf3kdnf6981182r824psgxwfaqhn3x3in4yiidp0w0hk3v"))))
(build-system go-build-system)
(arguments
'(#:tests? #f ;; tests require a network connection
#:import-path "github.com/go-sql-driver/mysql"))
(home-page "https://github.com/go-sql-driver/mysql")
(synopsis "MySQL driver for golang")
(description
"This is a pure Go implementaton of the MySQL API, compatible with
golang's @code{database/sql} package.")
(license license:mpl2.0)))
(define-public go-github-com-bep-debounce
(package
(name "go-github-com-bep-debounce")
(version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bep/debounce")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1vxa9cz2z0cmjixz3gjfp18fzliy9d2q7q6cz0zqs7yqbpjn5f55"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/bep/debounce"))
(home-page "https://github.com/bep/debounce")
(synopsis "Debouncer written in Go")
(description
"This package removes high-frequency signals from an input, limiting the
timeframe on which it will change.")
(license license:expat)))
(define-public go-github-com-bep-gitmap
(package
(name "go-github-com-bep-gitmap")
(version "1.1.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bep/gitmap")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0hvynpflvbn6g1vgrv37njn8005qxdq8l1289ymr37a2p5c1jncm"))))
(build-system go-build-system)
(arguments
'(#:tests? #f ;; tests require the .git directory
#:import-path "github.com/bep/gitmap"))
(native-inputs
`(("git" ,git)))
(home-page "https://github.com/bep/gitmap")
(synopsis "Creates a map from filenames to info objects in a Git repo.")
(description
"Gitmap creates a map from filenames to info objects for a given revision
of a Git repository.")
(license license:expat)))
(define-public go-github-com-fortytw2-leaktest
(package
(name "go-github-com-fortytw2-leaktest")
(version "d73c753520d9250e8f091d70d468a99c71f8bceb")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/fortytw2/leaktest")
(commit version)))
(file-name (git-file-name name "master"))
(sha256
(base32
"15aqrdfz9gf7k571f6l5dfjy3apjxaxrpj60rqv9bfz2sqw8inlf"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/fortytw2/leaktest"))
(home-page "https://github.com/fortytw2/leaktest")
(synopsis "Goroutine leak detector.")
(description
"This package takes a snapshot of running goroutines at the start of a
test and at the end, to assist in detecting memory leaks.")
(license license:expat)))
(define-public go-github-com-bep-tmc
(package
(name "go-github-com-bep-tmc")
(version "0.5.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bep/tmc")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1jn3j7mh77a5bbwh3hx3r0blzbdj2fvk5wvcfa8fr45qp2zlpbhx"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/bep/tmc"))
(propagated-inputs
`(("go-github-com-bep-debounce" ,go-github-com-bep-debounce)
("go-github-com-frankban-quicktest" ,go-github-com-frankban-quicktest)
("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)
("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
(home-page "https://github.com/bep/tmc")
(synopsis "Serialization library for golang.")
(description
"This package provides serialization with text-based formats like JSON
and YAML and custom type adapters for marshalling and unmarshalling.")
(license license:expat)))
(define-public go-github-com-disintegration-gift
(package
(name "go-github-com-disintegration-gift")
(version "1.2.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/disintegration/gift")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0zdki6ydqgxl7lg23f4885w8ij34sdg8xv7b7yp6c7ffi2ikk07f"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/disintegration/gift"))
(home-page "https://github.com/disintegration/gift")
(synopsis "Go image filtering toolkit")
(description
"This package provides a set of image processing filters and
transformations including crop, flip, resize, rotate, blur, pixelate, and
adjustments for brightness, contrast and color balance.")
(license license:expat)))
(define-public go-github-com-dustin-go-humanize
(package
(name "go-github-com-dustin-go-humanize")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dustin/go-humanize")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1kqf1kavdyvjk7f8kx62pnm7fbypn9z1vbf8v2qdh3y7z7a0cbl3"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/dustin/go-humanize"))
(home-page "https://github.com/dustin/go-humanize")
(synopsis "Formatters for units to human friendly sizes")
(description
"This package provides functions for helping humanize times and sizes, like “7 hours ago.”")
(license license:expat)))
(define-public go-github-com-ghodss-yaml
(package
(name "go-github-com-ghodss-yaml")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ghodss/yaml")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0skwmimpy7hlh7pva2slpcplnm912rp3igs98xnqmn859kwa5v8g"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/ghodss/yaml"))
(propagated-inputs
`(("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
(home-page "https://github.com/ghodss/yaml")
(synopsis "Marshal and unmarshal YAML in Golang.")
(description
"This package converts YAML to JSON using @code{go-yaml} and then uses
@code{json.Marshal} and @code{json.Unmarshal} to convert to or from the
struct.")
(license license:expat)))
(define-public go-github-com-getkin-kin-openapi
(package
(name "go-github-com-getkin-kin-openapi")
(version "0.22.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/getkin/kin-openapi")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"01bqrxf40s2pvcf55szi719g9nwz4yh6c01kr0v581jl249jk1am"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/getkin/kin-openapi/openapi3"
#:unpack-path "github.com/getkin/kin-openapi"))
(propagated-inputs
`(("go-github-com-ghodss-yaml" ,go-github-com-ghodss-yaml)
("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)
("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
(home-page "https://github.com/getkin/kin-openapi")
(synopsis "OpenAPI 3.0 implementation for Go.")
(description
"This package handles OpenAPI files. It targets the OpenAPI spec up to
version 3.")
(license license:expat)))
(define-public go-github-com-gorilla-websocket
(package
(name "go-github-com-gorilla-websocket")
(version "1.4.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gorilla/websocket")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0mkm9w6kjkrlzab5wh8p4qxkc0icqawjbvr01d2nk6ykylrln40s"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/gorilla/websocket"))
(home-page "https://github.com/gorilla/websocket")
(synopsis "WebSocket implementation for Golang")
(description
"This package implements of the WebSocket protocol in golang. It passes
the Autobahn Test Suite for WebSocket standard compliance.")
(license license:expat)))
(define-public go-github-com-neurosnap-sentences
(package
(name "go-github-com-neurosnap-sentences")
(version "1.0.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/neurosnap/sentences")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1b64xv5anfbnq6354jaygxapwgkdhbszzi604b96sm682brwl0p7"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/neurosnap/sentences"))
(home-page "https://github.com/neurosnap/sentences")
(synopsis "Multilingual command line sentence tokenizer for golang.")
(description
"The @code{sentences} tool converts a blob of text into a list of
sentences.")
(license license:expat)))
(define-public go-golang-org-x-exp
(let ((commit "c827fd4f18b9f31f0f90e954ffcf1b6a562ce30a")
(revision "0"))
(package
(name "go-golang-org-x-exp")
(version (git-version "0.0.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/golang/exp")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0jy1vfk9z84bxj6qm03rdpd8dzy83lwb2gfmd4h4ic0s51lyf6gz"))))
(build-system go-build-system)
(arguments
'(#:import-path "golang.org/x/exp"
;; Source-only package
#:tests? #f
#:phases
(modify-phases %standard-phases
(delete 'build))))
(synopsis "Experimental and deprecated packages for golang.")
(description
"This package holds experimental and unreliable libraries for golang.
Some may one day be promoted to the main golang packages, or they may be
modified arbitrarily or even disappear altogether.")
(home-page "https://godoc.org/golang.org/x/exp")
(license license:bsd-3))))
(define-public go-gonum-org-v1-gonum
(package
(name "go-gonum-org-v1-gonum")
(version "0.8.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gonum/gonum")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"03iy9691qh3r9dzy764n65qbbvf4yfmj1kd6cqs6cynlkzhg90i9"))))
(build-system go-build-system)
(arguments
'(#:import-path "gonum.org/v1/gonum"))
(propagated-inputs
`(("go-golang-org-x-exp" ,go-golang-org-x-exp)
("go-golang-org-x-tools" ,go-golang-org-x-tools)))
(home-page "https://www.gonum.org/")
(synopsis "Numeric libraries for golang.")
(description
"Gonum is a set of numeric libraries for the Go programming language. It
contains libraries for matrices, statistics, optimization, and more.")
(license license:expat)))
(define-public go-github-com-jdkato-prose
(package
(name "go-github-com-jdkato-prose")
(version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jdkato/prose")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0n9jv5qb8bv3dkmizbn3pjrkswjbz2xxcn8zyn5hrxnk7cjs62vr"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/jdkato/prose"))
(propagated-inputs
`(("go-github-com-neurosnap-sentences" ,go-github-com-neurosnap-sentences)
("go-gonum-org-v1-gonum" ,go-gonum-org-v1-gonum)))
(home-page "https://github.com/jdkato/prose")
(synopsis "Library for text processing in golang.")
(description
"Prose is a natural language processing library in pure Go. It supports
tokenization, segmentation, part-of-speech tagging, and named-entity
extraction.")
(license license:expat)))
(define-public go-github-com-kyokomi-emoji
(package
(name "go-github-com-kyokomi-emoji")
(version "2.2.5")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/kyokomi/emoji")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0abjjslfip135595v085z1c8pns0lgmm4scqdwxx3nxy4njwqmph"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/kyokomi/emoji"))
(home-page "https://github.com/kyokomi/emoji")
(synopsis "Write emoji to the terminal using golang")
(description
"The @code{emoji} package provides methods for interpolating emoji into strings
and character sequences.")
(license license:expat)))
(define-public go-github-com-magefile-mage
(package
(name "go-github-com-magefile-mage")
(version "1.10.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/magefile/mage")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0c77xgz2bz4j9sh9v7f49iqyamc4lvvldcmn6v50hk98s9193gbf"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/magefile/mage"))
(home-page "https://magefile.org/")
(synopsis "Build tool and task runner like make/rake using Go")
(description
"Mage is a make-like build tool using Go. You write plain-old go
functions, and Mage automatically uses them as Makefile-like runnable
targets.")
(license license:asl2.0)))
(define-public go-github-com-joho-godotenv
(package
(name "go-github-com-joho-godotenv")
(version "1.3.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/joho/godotenv")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0ri8if0pc3x6jg4c3i8wr58xyfpxkwmcjk3rp8gb398a1aa3gpjm"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/joho/godotenv"))
(home-page "https://github.com/joho/godotenv")
(synopsis "Loads environment variables from a file.")
(description
"Dotenv load variables from a .env file when the environment is
bootstrapped.")
(license license:expat)))
(define-public go-github-com-gobuffalo-envy
(package
(name "go-github-com-gobuffalo-envy")
(version "1.9.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gobuffalo/envy")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"119lb8i5pzbfwddmrfmjjai9m5np4p485bqxhb82jzsxavzc88m7"))))
(build-system go-build-system)
(arguments
'(#:tests? #f ;; TODO tests require mutable filesystem
#:import-path "github.com/gobuffalo/envy"))
(propagated-inputs
`(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)
("go-github-com-joho-godotenv" ,go-github-com-joho-godotenv)
("go-github-com-rogpeppe-go-internal" ,go-github-com-rogpeppe-go-internal)
("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
(home-page "https://github.com/gobuffalo/envy")
(synopsis "Use and manage environment variables in golang.")
(description
"Envy provides convenience methods for working with environment
variables.")
(license license:expat)))
(define-public go-github-com-markbates-inflect
(package
(name "go-github-com-markbates-inflect")
(version "1.0.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/markbates/inflect")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0pd50b8q6bib84yab14csd6nc08hfdapzbh1nnw6qrmc1zxi7r7m"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/markbates/inflect"))
(propagated-inputs
`(("go-github-com-gobuffalo-envy" ,go-github-com-gobuffalo-envy)
("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
(home-page "https://github.com/markbates/inflect")
(synopsis "An inflection engine for golang")
(description
"The inflect package transforms text into different styles,
capitalizations, spacing, and so on.")
(license license:expat)))
(define-public go-github-com-mitchellh-hashstructure
(package
(name "go-github-com-mitchellh-hashstructure")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mitchellh/hashstructure")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0zgl5c03ip2yzkb9b7fq9ml08i7j8prgd46ha1fcg8c6r7k9xl3i"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/mitchellh/hashstructure"))
(home-page "https://github.com/mitchellh/hashstructure")
(synopsis "Get hash values for arbitrary values in golang.")
(description
"This package can be used to key values in a hash (for use in a map, set,
etc.) that are complex. The most common use case is comparing two values
without sending data across the network, caching values locally (de-dup), and
so on.")
(license license:expat)))
(define-public go-github-com-gomarkdown-markdown
(package
(name "go-github-com-gomarkdown-markdown")
(version "8c8b3816f167b780c855b6412793ffd5de35ef05")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gomarkdown/markdown")
(commit version)))
(file-name (git-file-name name "master"))
(sha256
(base32
"141l462gxjqhk58s92h0v73wjvavgn9x8yfj9dmjq5s8ckxqfs8q"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/gomarkdown/markdown"))
(home-page "https://github.com/gomarkdown/markdown")
(synopsis "Markdown parser and HTML renderer for golang.")
(description
"This package provides a library for parsing Markdown documents and
rendering them to HTML. It supports common extensions.")
(license license:expat)))
(define-public go-github-com-miekg-mmark
(package
(name "go-github-com-miekg-mmark")
(version "1.3.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/miekg/mmark")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0q2zrwa2vwk7a0zhmi000zpqrc01zssrj9c5n3573rg68fksg77m"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/miekg/mmark"))
(propagated-inputs
`(("go-github-com-burntsushi-toml" ,go-github-com-burntsushi-toml)
("go-github-com-gomarkdown-markdown" ,go-github-com-gomarkdown-markdown)
("go-github-com-google-go-cmp-cmp" ,go-github-com-google-go-cmp-cmp)))
(home-page "https://github.com/miekg/mmark")
(synopsis "Markdown processor for golang.")
(description
"This package provides an advanced markdown dialect that processes files
to produce internet-drafts in XML RFC 7991 format. Mmark can produce
xml2rfc (aforementioned RFC 7991), RFC 7749 (xml2rfc version 2 - now
deprecated), HTML5 output, markdown and manual pages.")
(license license:expat)))
(define-public go-github-com-nfnt-resize
(package
(name "go-github-com-nfnt-resize")
(version "83c6a9932646f83e3267f353373d47347b6036b2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nfnt/resize")
(commit version)))
(file-name (git-file-name name "master"))
(sha256
(base32
"005cpiwq28krbjf0zjwpfh63rp4s4is58700idn24fs3g7wdbwya"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/nfnt/resize"))
(home-page "https://github.com/nfnt/resize")
(synopsis "Pure golang image resizing.")
(description
"This package provides image resizing for the Go programming language
with common interpolation methods.")
(license license:expat)))
(define-public go-github-com-muesli-smartcrop
(package
(name "go-github-com-muesli-smartcrop")
(version "0.3.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/muesli/smartcrop")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"10ns8nvxjpykgh1rapg1pn0p3r9qvrjifw2p23yha85d9wnk8i1x"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/muesli/smartcrop"))
(propagated-inputs
`(("go-golang-org-x-image" ,go-golang-org-x-image)
("go-github-com-nfnt-resize" ,go-github-com-nfnt-resize)))
(home-page "https://github.com/muesli/smartcrop")
(synopsis "Finds good image crops for arbitrary crop sizes.")
(description
"Smartcrop implements an algorithm to find aesthetic crops for images.
It's based on Jonas Wagner's @code{smartcrop.js}.")
(license license:expat)))
(define-public go-github-com-nicksnyder-go-i18n
(package
(name "go-github-com-nicksnyder-go-i18n")
(version "1.10.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/nicksnyder/go-i18n")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1zf53fxngc2q9h0jcnf0kccz8h124rl954r92d1k55pk49l97fgx"))))
(build-system go-build-system)
(arguments
'(#:tests? #f ; tests getting "open active.en.toml: permission denied"
#:import-path "github.com/nicksnyder/go-i18n/v2/goi18n"
#:unpack-path "github.com/nicksnyder/go-i18n"))
(inputs
`(("go-github-com-burntsushi-toml" ,go-github-com-burntsushi-toml)
("go-golang-org-x-text" ,go-golang-org-x-text)
("go-gopkg-in-yaml-v2" ,go-gopkg-in-yaml-v2)))
(home-page "https://github.com/nicksnyder/go-i18n")
(synopsis "Translate your Go program into multiple languages.")
(description
"This package is a Go library and command-line utility that helps you
translate Go programs into multiple languages.")
(license license:expat)))
(define-public go-github-com-niklasfasching-go-org
(package
(name "go-github-com-niklasfasching-go-org")
(version "1.3.2")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/niklasfasching/go-org")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0wf44ky7kcr1zylv6n475biai04h5ffa4i640sg7dv01a22nsbap"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/niklasfasching/go-org"))
(propagated-inputs
`(("go-github-com-alecthomas-chroma" ,go-github-com-alecthomas-chroma)
("go-golang-org-x-net" ,go-golang-org-x-net)
("go-github-com-dlclark-regexp2" ,go-github-com-dlclark-regexp2)
("go-github-com-danwakefield-fnmatch" ,go-github-com-danwakefield-fnmatch)))
(home-page "https://github.com/niklasfasching/go-org")
(synopsis "Emacs org-mode parser with HTML & pretty printed rendering.")
(description
"This package parses org-mode files and provides HTML export with
sensible output. It does not exactly reproduce the output of
org-html-export. The parser supports a subset of org-mode.")
(license license:expat)))
(define-public go-github-com-rwcarlsen-goexif
(let ((commit "9e8deecbddbd4989a3e8d003684b783412b41e7a")
(revision "0"))
(package
(name "go-github-com-rwcarlsen-goexif")
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/rwcarlsen/goexif")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1drqhzplg72lvrf3qmb9awbggnjqp23hwn2pgvksi3spv17kc9h2"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/rwcarlsen/goexif/exif"
#:unpack-path "github.com/rwcarlsen/goexif"))
(home-page "https://github.com/rwcarlsen/goexif")
(synopsis "Decode embedded EXIF meta data from image files.")
(description
"This package provides decoding of basic exif and tiff encoded data.")
(license license:expat))))
(define-public go-github-com-sanity-io-litter
(package
(name "go-github-com-sanity-io-litter")
(version "1.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/sanity-io/litter")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0jr6v0k1ffimgzy5wdf17r0mrwn9cafhnrsyjxz5vqmigvykikw9"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/sanity-io/litter"))
(propagated-inputs
`(("go-github-com-davecgh-go-spew" ,go-github-com-davecgh-go-spew)
("go-github-com-pmezard-go-difflib" ,go-github-com-pmezard-go-difflib)
("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
(home-page "https://github.com/sanity-io/litter")
(synopsis "Pretty printer library for Go data structures.")
(description
"This package prints Golang literals values. The output is syntactically
correct golang code. You can use @code{Litter} to emit data during debug, and
it's also suitable for “snapshot data” in unit tests since it produces
deterministic output.")
(license license:expat)))
(define-public go-github-com-spf13-fsync
(package
(name "go-github-com-spf13-fsync")
(version "0.9.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/spf13/fsync")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1z6v7pvlqphq9lqk5sa80ynj3x21yk6s84i41hivgda73lzffg5n"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/spf13/fsync"))
(propagated-inputs
`(("go-github-com-spf13-afero" ,go-github-com-spf13-afero)))
(home-page "https://github.com/spf13/fsync")
(synopsis "Keeps files or directories in sync.")
(description
"This package calculates the minimal I/O to synchronize the states and
contents of files and directories, and performs that synchronization.")
(license license:expat)))
(define-public go-github-com-matryer-try
(package
(name "go-github-com-matryer-try")
(version "1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/matryer/try")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"15f0m5ywihivnvwzcw0mh0sg27aky9rkywvxqszxka9q051qvsmy"))))
(build-system go-build-system)
(arguments
'(#:tests? #f ; tests broken
#:import-path "github.com/matryer/try"))
(native-inputs
`(("go-github-com-cheekybits-is" ,go-github-com-cheekybits-is)))
(home-page "https://github.com/matryer/try")
(synopsis "Retry library for golang.")
(description
"This package provides a facility to run a function and retry on error,
up to to a configurable maximum number of retries.")
(license license:expat)))
(define-public go-github-com-tdewolff-test
(package
(name "go-github-com-tdewolff-test")
(version "1.0.6")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tdewolff/test")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"12glhjb4cwp6yxwd17rwa6b4gxna3lm01bgc7yn9di58chc7lyh3"))))
(build-system go-build-system)
(arguments
'(#:tests? #f ; tests broken
#:import-path "github.com/tdewolff/test"))
(home-page "https://github.com/tdewolff/test")
(synopsis "Provides Go test helper functions.")
(description
"Test is a helper package written in Go. It implements a few functions
that are useful for io testing, such as readers and writers that fail after N
consecutive reads/writes.")
(license license:expat)))
(define-public go-github-com-tdewolff-parse
(package
(name "go-github-com-tdewolff-parse")
(version "2.5.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tdewolff/parse")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"185y4x0nd3d1x3444dqcbpcxw2y8h5d21yi38qyi2705km69fsjv"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/tdewolff/parse"))
(native-inputs
`(("go-github-com-tdewolff-test" ,go-github-com-tdewolff-test)))
(home-page "https://github.com/tdewolff/parse")
(synopsis "Go parsers for web formats.")
(description
"This package contains lexers and parsers written in Go for CSS, HTML,
JavaScript, JSON, SVG, and XML.")
(license license:expat)))
(define-public go-github-com-tdewolff-minify
(package
(name "go-github-com-tdewolff-minify")
(version "2.9.5")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tdewolff/minify")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0ixv403g919igi1i6rqvdgikvi6jqnf26n462ir2ap2qk7r1prgr"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/tdewolff/minify"))
(propagated-inputs
`(("go-github-com-cheekybits-is" ,go-github-com-cheekybits-is)
("go-github-com-dustin-go-humanize" ,go-github-com-dustin-go-humanize)
("go-github-com-fsnotify-fsnotify" ,go-github-com-fsnotify-fsnotify)
("go-github-com-matryer-try" ,go-github-com-matryer-try)
("go-github-com-spf13-pflag" ,go-github-com-spf13-pflag)
("go-github-com-tdewolff-parse" ,go-github-com-tdewolff-parse)
("go-github-com-tdewolff-test" ,go-github-com-tdewolff-test)
("go-golang-org-x-sys" ,go-golang-org-x-sys)))
(home-page "https://github.com/tdewolff/minify")
(synopsis "Go minifiers for web formats.")
(description
"This package provides HTML5, CSS3, JS, JSON, SVG and XML minifiers and
an interface to implement any other minifier.")
(license license:expat)))
(define-public go-github-com-geertjohan-go-incremental
(package
(name "go-github-com-geertjohan-go-incremental")
(version "1.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/GeertJohan/go.incremental")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1ll6n84dk2yhkikxr5zch56qvm8q6jsz68xpdd3bph5fxkikgvfl"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/GeertJohan/go.incremental"))
(home-page "https://github.com/GeertJohan/go.incremental")
(synopsis "Concurency-safe incremental numbers.")
(description
"This package provides typed incremental counters that are
concurrency-safe.")
(license license:expat)))
(define-public go-github-com-akavel-rsrc