gnu: Add monsterid.

* gnu/packages/web.scm (monsterid): New variable.

Change-Id: I68dc167cb766f730bfa4108c96a70f59a9aec222
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Evgeny Pisemsky 2023-11-03 04:00:00 +03:00 committed by Ludovic Courtès
parent 416ae9ad89
commit d987b75618
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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 @@ (define-public geomyidae
@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"))