unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add Pfff.
@ 2016-01-03  5:41 Pjotr Prins
  2016-01-07 20:21 ` Ricardo Wurmus
  0 siblings, 1 reply; 2+ messages in thread
From: Pjotr Prins @ 2016-01-03  5:41 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/hash.scm (pfff): New variable.
---
 gnu/packages/hash.scm |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 gnu/packages/hash.scm

diff --git a/gnu/packages/hash.scm b/gnu/packages/hash.scm
new file mode 100644
index 0000000..c3cbd85
--- /dev/null
+++ b/gnu/packages/hash.scm
@@ -0,0 +1,29 @@
+(define-module (gnu packages hash)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system cmake))
+
+(define-public pfff
+  (package
+    (name "pfff")
+    (version "1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/pfff/pfff/archive/v" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "00m553aa277iarxj6dalmklyb64r7ias49bfwzbacsfg8h3kar8m"))))
+    (build-system cmake-build-system)
+    (home-page "http://biit.cs.ut.ee/pfff/")
+    (synopsis "Probabilistic fast file fingerprinting tool")
+    (description
+     "Calculate a pfff-value which functions as a compact digital
+fingerprint of a file by sampling randomly from the file instead of
+reading it in full.  Consequently, the computation has a flat
+performance characteristic, correlated with data variation rather than
+file size.  pfff can be as reliable as existing hashing techniques,
+with provably negligible risk of collisions.")
+    (license license:bsd-3)))
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: Add Pfff.
  2016-01-03  5:41 [PATCH] gnu: Add Pfff Pjotr Prins
@ 2016-01-07 20:21 ` Ricardo Wurmus
  0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2016-01-07 20:21 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix-devel


Pjotr Prins <pjotr.public12@thebird.nl> writes:

> * gnu/packages/hash.scm (pfff): New variable.

I changed the description to use full sentences, moved the expression to
textutils.scm (for lack of a better module), updated the commit message
and pushed.

Thanks!

~~ Ricardo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-07 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-03  5:41 [PATCH] gnu: Add Pfff Pjotr Prins
2016-01-07 20:21 ` Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).