summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEvgeny Pisemsky <evgeny@pisemsky.com>2023-11-03 04:00:00 +0300
committerLudovic Courtès <ludo@gnu.org>2023-11-15 18:29:38 +0100
commitd987b75618a62c95c030e7ca53e0972e700c4f06 (patch)
tree14bb1d974eba23cb449cd6fa304962e01f313879 /gnu/packages
parent416ae9ad8973ec8a4099914153f4d160b91ee77e (diff)
gnu: Add monsterid.
* gnu/packages/web.scm (monsterid): New variable. Change-Id: I68dc167cb766f730bfa4108c96a70f59a9aec222 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/web.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index cd165bbae7..389f7d1375 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -64,6 +64,7 @@
;;; Copyright © 2023 David Thompson <dthompson2@worcester.edu>
;;; Copyright © 2023 Christopher Howard <christopher@librehacker.com>
;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com>
+;;; Copyright © 2023 Evgeny Pisemsky <evgeny@pisemsky.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -7910,6 +7911,35 @@ features include:
@end enumerate\n")
(license license:expat)))
+(define-public monsterid
+ (let ((commit "5597f177b473343ff5cad9a6e0e5b255312c6096")
+ (revision "0"))
+ (package
+ (name "monsterid")
+ (version (git-version "0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/splitbrain/monsterID")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ixyrrcbw96plcdna2rx1pqwisqy9hnr57kvamgj13lzlv2whdb3"))))
+ (build-system copy-build-system)
+ (arguments
+ '(#:install-plan '(("monsterid.php" "share/web/monsterid/")
+ ("parts/" "share/web/monsterid/parts/"
+ #:include-regexp ("\\.png$")))))
+ (home-page "https://www.splitbrain.org/projects/monsterid")
+ (synopsis "The original MonsterID implementation")
+ (description
+ "MonsterID is a method to generate a unique monster image based upon a
+certain identifier (IP address, email address, whatever). It can be
+used to automatically provide personal avatar images in blog comments
+or other community services.")
+ (license license:expat))))
+
(define-public cat-avatar-generator
(let ((commit "9360ea33f79d1dad3e43494b09878b5e3f6b41fa")
(revision "1"))