aboutsummaryrefslogtreecommitdiff
path: root/tojo-tokyo/packages/guile-xyz.scm
blob: a7c5094b97b6b1b5510757f31529e40ac7631616 (about) (plain)
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
;;; tojo-tokyo-guix-config --- Guix Channel for git.tojo.tokyo's package
;;; Copyright © 2021 Masaya Tojo <masaya@tojo.tokyo>
;;;
;;; This file is part of tojo-tokyo-guix-config.
;;;
;;; tojo-tokyo-guix-config is free software; you can redistribute
;;; it and/or modify it under the terms of the GNU General Public
;;; License as published by the Free Software Foundation; either
;;; version 3 of the License, or (at your option) any later version.
;;;
;;; tojo-tokyo-guix-config is distributed in the hope that it will
;;; be useful, but WITHOUT ANY WARRANTY; without even the implied
;;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
;;; See the GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with extract-green-color.  If not, see
;;; <http://www.gnu.org/licenses/>.

(define-module (tojo-tokyo packages guile-xyz)
  #:use-module (guix packages)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages)
  #:use-module (gnu packages autotools)
  #:use-module (gnu packages guile)
  #:use-module (gnu packages guile-xyz)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages texinfo))

(define-public extract-green-color
  (package
    (name "extract-green-color")
    (version "1.0.1")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "https://files.tojo.tokyo/extract-green-color/"
                    "extract-green-color-" version ".tar.gz"))
              (sha256
               (base32
                "0jrcvm4lk06009bq81r4fnpknmhwz6bgg4w3v2qh2kp83b9bgb1r"))))
    (build-system gnu-build-system)
    (native-inputs
     `(("autoconf" ,autoconf)
       ("automake" ,automake)
       ("pkg-config" ,pkg-config)
       ("texinfo" ,texinfo)))
    (inputs
     `(("guile" ,guile-2.2)
       ("guile-cv" ,guile-cv)))
    (synopsis "Extract green color from a photo of LCD Writing Tablet")
    (description "This package provides script to extract green color
from a photo of LCD Writing Tablet.")
    (home-page "https://git.tojo.tokyo/extract-green-color.git")
    (license license:gpl3+)))