;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
#:use-module (guix download)
#:use-module (guix build-system gnu))
+(define-public gdsl
+ (package
+ (name "gdsl")
+ (version "1.8")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://download.gna.org/gdsl/"
+ "gdsl-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1v64jvlnj8jfpphphgjgb36p0kv50kwfyqncf0y12f16v8ydyiaw"))))
+ (build-system gnu-build-system)
+ (home-page "http://home.gna.org/gdsl/")
+ (synopsis "Generic data structures library")
+ (description "The Generic Data Structures Library (GDSL) is a collection
+of routines for generic data structures manipulation. It is a re-entrant
+library fully written from scratch in pure ANSI C. It is designed to offer
+for C programmers common data structures with powerful algorithms, and hidden
+implementation. Available structures are lists, queues, stacks, hash tables,
+binary trees, binary search trees, red-black trees, 2D arrays, permutations
+and heaps.")
+ (license license:gpl2+)))
+
(define-public sparsehash
(package
(name "sparsehash")
and time-efficient for good hash functions.")
(home-page "https://github.com/sparsehash/sparsehash")
(license license:bsd-3)))
+
+(define-public ssdeep
+ (package
+ (name "ssdeep")
+ (version "2.13")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/ssdeep/"
+ name "-" version "/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1igqy0j7jrklb8fdlrm6ald4cyl1fda5ipfl8crzyl6bax2ajk3f"))))
+ (build-system gnu-build-system)
+ (home-page "http://ssdeep.sourceforge.net")
+ (synopsis "Context-triggered piecewise hashing algorithm")
+ (description "ssdeep computes and matches context triggered piecewise
+hashes (CTPH), also called fuzzy checksums. It can identify similar files
+that have sequences of identical bytes in the same order, even though bytes
+in between these sequences may be different in both content and length.")
+ (license license:gpl2+)))