(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-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)))