From 95e26f997e2457dfa81c9ad41fba72d71e131744 Mon Sep 17 00:00:00 2001 From: msglm Date: Tue, 9 Apr 2024 02:39:26 -0500 Subject: hopefully fix guix pull --- findimagedupes.scm | 74 +++++++++++++++++++++++++++--------------------------- meme.scm | 1 - 2 files changed, 37 insertions(+), 38 deletions(-) diff --git a/findimagedupes.scm b/findimagedupes.scm index c32fb6b..971340e 100644 --- a/findimagedupes.scm +++ b/findimagedupes.scm @@ -64,40 +64,40 @@ (home-page "https://gitlab.com/opennota/phash/") (license gpl3))) -;(define-public go-github-com-mattn-go-sqlite3-1.14.11 -; (package -; (inherit go-github-com-mattn-go-sqlite3) -; (name "go-github-com-mattn-go-sqlite3-1.14.11") -; )) -; -;(define-public findimagedupes -; (package -; (name "findimagedupes") -; (version "bc6c4c310f102eb04a4ac3610e2ca0ae72746bbe") -; (source (origin -; (method git-fetch) -; (uri (git-reference -; (url "https://gitlab.com/opennota/findimagedupes.git") -; (commit "bc6c4c310f102eb04a4ac3610e2ca0ae72746bbe"))) -; (file-name (git-file-name name version)) -; (sha256 -; (base32 -; "0vz45zysn4dxmlw9fjw0sjsi4wh6b98a2lczxv0rwwxjx77drya7")))) -; (build-system go-build-system) -; (arguments -; (list #:import-path "gitlab.com/opennota/findimagedupes" -; )) -; (inputs -; (list -; libjpeg-turbo -; libpng -; libtiff -; libheif -; go-gitlab-com-opennota-magicmime -; go-gitlab-com-opennota-phash -; go-github-com-mattn-go-sqlite3-1.14.11 -; )) -; (synopsis "finds visually similar or duplicate images.") -; (description "finds duplicate images using the pHash algorithm") -; (home-page "https://gitlab.com/opennota/findimagedupes/") -; (license gpl3))) +(define-public go-github-com-mattn-go-sqlite3-1.14.11 + (package + (inherit go-github-com-mattn-go-sqlite3) + (name "go-github-com-mattn-go-sqlite3-1.14.11") + )) + +(define-public findimagedupes + (package + (name "findimagedupes") + (version "bc6c4c310f102eb04a4ac3610e2ca0ae72746bbe") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/opennota/findimagedupes.git") + (commit "bc6c4c310f102eb04a4ac3610e2ca0ae72746bbe"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0vz45zysn4dxmlw9fjw0sjsi4wh6b98a2lczxv0rwwxjx77drya7")))) + (build-system go-build-system) + (arguments + (list #:import-path "gitlab.com/opennota/findimagedupes" + )) + (inputs + (list + libjpeg-turbo + libpng + libtiff + libheif + go-gitlab-com-opennota-magicmime + go-gitlab-com-opennota-phash + go-github-com-mattn-go-sqlite3-1.14.11 + )) + (synopsis "finds visually similar or duplicate images.") + (description "finds duplicate images using the pHash algorithm") + (home-page "https://gitlab.com/opennota/findimagedupes/") + (license gpl3))) diff --git a/meme.scm b/meme.scm index 917a016..5fe9494 100644 --- a/meme.scm +++ b/meme.scm @@ -3,7 +3,6 @@ #:use-module (guix build-system go) #:use-module (guix packages) #:use-module (guix git-download) - #:use-module (gnu packages golang) ) (define-public go-github-com-nfnt-resize -- cgit v1.2.3