From f1732f9e0107c384df14755ca72ff29e21ee02db Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Wed, 14 Apr 2021 02:41:39 +0900 Subject: tojo-tokyo: Add extract-green-color. * tojo-tokyo/packages/guile-xyz.scm: New file. --- tojo-tokyo/packages/guile-xyz.scm | 57 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 tojo-tokyo/packages/guile-xyz.scm 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 +;;; +;;; 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 +;;; . + +(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+))) -- cgit v1.2.3