summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2024-02-15 09:11:23 -0600
committermsglm <msglm@techchud.xyz>2024-02-15 09:11:23 -0600
commit1cb14fcc4cb0e9de734c46302073ad50947cddef (patch)
tree458435369c1fe490975950e73b04c25554cae0af
parent5f91f74d534d6f3b825f4ff505c2e538e3959f0b (diff)
downloadguix-msglm-1cb14fcc4cb0e9de734c46302073ad50947cddef.tar.gz
guix-msglm-1cb14fcc4cb0e9de734c46302073ad50947cddef.tar.bz2
guix-msglm-1cb14fcc4cb0e9de734c46302073ad50947cddef.zip
add meme program
-rw-r--r--meme.scm60
1 files changed, 60 insertions, 0 deletions
diff --git a/meme.scm b/meme.scm
new file mode 100644
index 0000000..5f4f2b4
--- /dev/null
+++ b/meme.scm
@@ -0,0 +1,60 @@
+(define-module (meme)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix build-system go)
+ #:use-module (guix packages)
+ #:use-module (guix git-download)
+ #:use-module (gnu packages golang)
+ )
+
+(define-public go-github-com-nfnt-resize
+ (package
+ (name "go-github-com-nfnt-resize")
+ (version "0.0.0-20180221191011-83c6a9932646")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nfnt/resize")
+ (commit (go-version->git-ref version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "005cpiwq28krbjf0zjwpfh63rp4s4is58700idn24fs3g7wdbwya"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/nfnt/resize"))
+ (home-page "https://github.com/nfnt/resize")
+ (synopsis
+ "This package is no longer being updated! Please look for alternatives if that bothers you.")
+ (description "Package resize implements various image resizing methods.")
+ (license license:isc)))
+
+(define-public go-github-com-nomad-software-meme
+ (package
+ (name "go-meme")
+ (version "1.0.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nomad-software/meme")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1z91iib0q9m4342xi2zr3r1n4qlzymhvycrsbn6i9pap1wv6kqig"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/nomad-software/meme"))
+ (propagated-inputs `(("go-github-com-nfnt-resize" ,go-github-com-nfnt-resize)
+ ("go-github-com-mitchellh-go-homedir" ,go-github-com-mitchellh-go-homedir)
+ ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable)
+ ("go-github-com-fogleman-gg" ,go-github-com-fogleman-gg)
+ ("go-github-com-fatih-color" ,go-github-com-fatih-color)))
+ (home-page "https://github.com/nomad-software/meme")
+ (synopsis "Meme")
+ (description
+ "To create a meme use the following command. The image can be an built-in
+template, a URL or the path to a local file.")
+ (license license:expat)))
+