aboutsummaryrefslogtreecommitdiff
path: root/tojo-tokyo/packages
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2021-04-14 02:41:39 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2021-04-14 13:28:59 +0900
commitf1732f9e0107c384df14755ca72ff29e21ee02db (patch)
treee6b80bdad032beaa7b951111742ef423e9bc2b9a /tojo-tokyo/packages
parent379ccc61f0ca02c8a54e0803aa3c5ff127307816 (diff)
tojo-tokyo: Add extract-green-color.
* tojo-tokyo/packages/guile-xyz.scm: New file.
Diffstat (limited to 'tojo-tokyo/packages')
-rw-r--r--tojo-tokyo/packages/guile-xyz.scm57
1 files changed, 57 insertions, 0 deletions
diff --git a/tojo-tokyo/packages/guile-xyz.scm b/tojo-tokyo/packages/guile-xyz.scm
new file mode 100644
index 0000000..a7c5094
--- /dev/null
+++ b/tojo-tokyo/packages/guile-xyz.scm
@@ -0,0 +1,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+)))