gnu: Add go-github-com-dgryski-trifles-leven.

* gnu/packages/golang-xyz.scm (go-github-com-dgryski-trifles-leven): New
variable.
(go-github-com-dgryski-trifles): New variable.

Change-Id: I6cb08db456c7a8a6f321db4c677f117bd42c0a78
This commit is contained in:
Danny Milosavljevic 2025-02-02 01:39:55 +01:00
parent 634d534a46
commit 3dd408f6aa
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -17784,6 +17784,101 @@ converting them to the often much more useful @@code{time.Duration}.")
"This package provides a way 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
#:unpack-path "github.com/dgryski/trifles"))
(home-page "https://github.com/dgryski/trifles")
(synopsis "Trivial features")
(description "This package provides those things:
@itemize @bullet
@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-dgryski-trifles-leven
(package
(inherit go-github-com-dgryski-trifles)
(name "go-github-com-dgryski-trifles-leven")
(synopsis "Levenshtein distance algorithm")
(description "This package provides a fast Levenshtein distance algorithm.")
(arguments
(list
#:unpack-path "github.com/dgryski/trifles"
#:import-path "github.com/dgryski/trifles/leven"))))
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar