summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-28 19:58:46 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-01-21 23:42:33 +0000
commitee10c24389d63870e922d656e67b2c40db7c8b94 (patch)
treee89a65e0b42995f8036fc13261b6156a94308a0f /gnu/packages/golang-xyz.scm
parent29b7872d56da541febca942ddd2884ac84009ce5 (diff)
gnu: Add go-github-com-dgryski-trifles.
* gnu/packages/golang-xyz.scm (go-github-com-dgryski-trifles): New variable. Change-Id: I6bca977d99b2bf991a411f0d10a4443b9b8b0d12
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm88
1 files changed, 88 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 4aa0de737e..11ae405097 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3297,6 +3297,94 @@ supports concurrent serializable transactions.")
on throughput and hit ratio performance.")
(license (list license:asl2.0 license:expat))))
+;; The project provides no go.mod files and contains a veracity of commands
+;; and libraries which might need missing dependencies, update them on demand.
+(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
+ #:skip-build? #t
+ #:tests? #f
+ #:import-path "github.com/dgryski/trifles"))
+ (home-page "https://github.com/dgryski/trifles")
+ (synopsis "Collection of Golang utitity libraries and commands")
+ (description
+ "This package provides a collection veriaty of utility libraries:
+
+@itemize
+@item intset - compress a stream of integers
+@item lz - lempel-ziv compression
+@item threadtree - a threaded binary-tree
+@item numerical - numerical integration and root finding
+@item maze - maze generation stuff
+@item hist - simple command-line histogramming tool
+@item simhash - trivial simhash implementation
+@item wscat - trivial websocket netcat
+@item servedir - trivial http fileserver
+@item rndtxt - generate random text strings
+@item mpush - push to multiple notification services (pushbullet, nma, pushover)
+@item superbat - batmanjs and go-restful playground
+@item msgrpc - msgpack rpc python/go interop samples
+@item quantile - testing different streaming quantile estimators
+@item wtflog - logging package with some renamed log levels
+@item qrshow - display QR codes in a terminal
+@item nlz - asm code to find number of leading zeros
+@item httpecho - server to dump information about an http request
+@item lzpack - trivial packed format for lz4 compression
+@item grinderplot - generate a flot chart from grinder logs
+@item worker - framework for spawning concurrent workers
+@item gddo - search godoc.org from the command line
+@item uuid - generate random UUIDs
+@item entropy - reducer to compute entropy per epoch for a set of values in a category
+@item inthash - integer hashing functions
+@item udprelay - simple udp-to-tcp multiplexing relay
+@item shufsecs - shuffle sorted epoch-data within epochs
+@item strtable - dumb string->uint32 hash table for profiling vs native maps
+@item cachetest - playing with different caching algorithms (clock, lru, lfu, random)
+@item glj - passing data from go to lua with msgpack
+@item toms - text filter for time.Duration to milliseconds
+@item bluniq - bloom-filter based unique filter
+@item skvdist - check distribution of shardedkv choosers
+@item gcwatch - print out garbage collection stats from /debug/vars
+@item toepoch - convert time fields to epochs
+@item repl - framework for making dumb repls for testing
+@item skvchk - tool for checking shardedkv distributions
+@item interp - interpolation search
+@item oma - simulation of the Dutch children's board game \"Met de bus naar Oma\"
+@item rndsample - uniform random sample from stdin
+@item pphrase - simple passphrase generator
+@item fastrand - fast xorshift rng with bias-free [0..n)
+@item range2cird - turn IP ranges into CIDR
+@item gfmt - trivial filter wrapping go-linebreak
+@item mtest - port of libtommath test program
+@item leven - fastest levenshtein distance algorithm I could find
+@item matcher - test different methods of testing string set membership
+@item cstbucket - crunch carbonserver logs for time-ranges of queries
+@item stablepart - stable partition a sort.Interface on a boolean predicate
+@item jumpreplica - tool for playing with replica choices for jump-hash
+@item sshdregex - demo using ragel for optimized regexp matching
+@item hllbench - benchmark different hyperloglog implementations
+@item shlines, sipsum - tools for siphashing things
+@item urlq - extract query parameters from a list of URLs
+@item median - compute the median of 5 numbers with a sorting network
+@item hashbench - benchmark different hashing functions
+@item fastpprof - how to use pprof with fasthttp
+@item ewmaest - progress logging with ewma-based ETA estimation
+@end itemize")
+ (license license:expat)))
+
(define-public go-github-com-dimchansky-utfbom
(package
(name "go-github-com-dimchansky-utfbom")