summaryrefslogtreecommitdiffstats
path: root/meme.scm
blob: 5f4f2b421fffceaed98d6b592a3593eaaa406816 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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)))