civodul pushed a commit to branch master
in repository guix.
commit d987b75618a62c95c030e7ca53e0972e700c4f06
Author: Evgeny Pisemsky <[email protected]>
AuthorDate: Fri Nov 3 04:00:00 2023 +0300
gnu: Add monsterid.
* gnu/packages/web.scm (monsterid): New variable.
Change-Id: I68dc167cb766f730bfa4108c96a70f59a9aec222
Signed-off-by: Ludovic Courtès <[email protected]>
---
gnu/packages/web.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
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 <[email protected]>
;;; Copyright © 2023 Christopher Howard <[email protected]>
;;; Copyright © 2023 Felix Lechner <[email protected]>
+;;; Copyright © 2023 Evgeny Pisemsky <[email protected]>
;;;
;;; 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"))