From 1583fe7e24b6e1a48f7525b338e96cecd5813a3a Mon Sep 17 00:00:00 2001 From: Troy Figiel Date: Sun, 3 Mar 2024 21:54:37 +0100 Subject: [PATCH] gnu: Add go-github-com-hhrutter-lzw. * gnu/packages/golang-compression.scm (go-github-com-hhrutter-lzw): New variable. Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-compression.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang-compression.scm b/gnu/packages/golang-compression.scm index 568fdd12b9..031ff54f8a 100644 --- a/gnu/packages/golang-compression.scm +++ b/gnu/packages/golang-compression.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2021 Arun Isaac ;;; Copyright © 2021 Efraim Flashner ;;; Copyright © 2022 Sharlatan Hellseher +;;; Copyright © 2024 Troy Figiel ;;; ;;; This file is part of GNU Guix. ;;; @@ -84,6 +85,30 @@ the @code{c2go} tool at compression format.") (license license:bsd-3))) +(define-public go-github-com-hhrutter-lzw + (package + (name "go-github-com-hhrutter-lzw") + (version "1.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hhrutter/lzw") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1n13qhf8ih08jzm10wprdvjy56ylmy6fhakyqrddm6nszf397wch")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/hhrutter/lzw")) + (home-page "https://github.com/hhrutter/lzw") + (synopsis "Extended version of @code{compress/lzw}") + (description + "This package provides an enhanced version of the @code{compress/lzw} +library included in the stdlib, and supports GIF, TIFF and PDF.") + (license license:bsd-3))) + (define-public go-github-com-klauspost-compress (package (name "go-github-com-klauspost-compress")