diff options
author | Masaya Tojo <masaya@tojo.tokyo> | 2024-08-11 00:05:52 +0900 |
---|---|---|
committer | Masaya Tojo <masaya@tojo.tokyo> | 2024-08-11 00:05:52 +0900 |
commit | ff07ae77d71fdc3ba8dded47176dcbe8d04d8cfb (patch) | |
tree | 2253d58337a7b1b6678aede49205f962392697af | |
parent | 5d2c3d02ac0147f6f44332c9f0907c6cb64d0912 (diff) |
Add `guile-r7rs-pnm` package
-rw-r--r-- | tojo-tokyo/packages/guile-xyz.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tojo-tokyo/packages/guile-xyz.scm b/tojo-tokyo/packages/guile-xyz.scm index f273d9f..92c2e33 100644 --- a/tojo-tokyo/packages/guile-xyz.scm +++ b/tojo-tokyo/packages/guile-xyz.scm @@ -21,7 +21,9 @@ #:use-module (guix packages) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) + #:use-module (guix build-system guile) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages guile) @@ -30,6 +32,28 @@ #:use-module (gnu packages pkg-config) #:use-module (gnu packages texinfo)) +(define-public guile-r7rs-pnm + (package + (name "guile-r7rs-pnm") + (version "1.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.tojo.tokyo/r7rs-pnm.git") + (commit (string-append "v" version)))) + (sha256 + (base32 + "1r6m28f2w4kn2fvbv762r3n0hspb5rbwg5fpb336ryj69za7v0fh")))) + (build-system guile-build-system) + (native-inputs + (list guile-3.0)) + (synopsis "Library for reading and writing PNM (Portable Any Map) files for R7RS") + (description "R7RS-PNM is a R7RS library for handling PNM (Portable Any Map) files, +providing functionality for reading and writing PNM files,as well as +accessing and modifying pixel data.") + (home-page "https://git.tojo.tokyo/r7rs-pnm.git/about") + (license license:lgpl3+))) + (define-public extract-green-color (package (name "extract-green-color") |