summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-11-29 10:35:09 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2020-11-29 14:36:57 +0100
commit2083ab1280189d7511bfc5ea3a4c8ea6f14db833 (patch)
tree9fda93f83799dabbc02bc45a007b2bff78bc2aae /gnu
parent6135e55f5ce39c7947288d54de8727eb5aa0e43c (diff)
gnu: Add python2-gamera.
* gnu/packages/python-xyz.scm (python2-gamera): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c1524446327..d1c913435ff 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -184,6 +184,7 @@
184 #:use-module (gnu packages version-control) 184 #:use-module (gnu packages version-control)
185 #:use-module (gnu packages video) 185 #:use-module (gnu packages video)
186 #:use-module (gnu packages web) 186 #:use-module (gnu packages web)
187 #:use-module (gnu packages wxwidgets)
187 #:use-module (gnu packages base) 188 #:use-module (gnu packages base)
188 #:use-module (gnu packages xml) 189 #:use-module (gnu packages xml)
189 #:use-module (gnu packages xorg) 190 #:use-module (gnu packages xorg)
@@ -23091,3 +23092,36 @@ distutils-based python projects. The goal is to remove the tedious and
23091error-prone \"update the embedded version string\" step from your release 23092error-prone \"update the embedded version string\" step from your release
23092process.") 23093process.")
23093 (license license:public-domain))) 23094 (license license:public-domain)))
23095
23096(define-public python2-gamera
23097 (package
23098 (name "python2-gamera")
23099 (version "3.4.4")
23100 (source
23101 (origin
23102 (method url-fetch)
23103 (uri (string-append "https://gamera.informatik.hsnr.de/download/"
23104 "gamera-" version ".tar.gz"))
23105 (sha256
23106 (base32 "1g4y1kxk1hmxfsiz682hbxvwryqilnb21ci509m559yp7hcliiyy"))
23107 (modules '((guix build utils)))
23108 (snippet
23109 '(begin
23110 ;; Remove bundled libraries.
23111 (for-each delete-file-recursively
23112 '("src/libpng-1.2.5"
23113 "src/libtiff"
23114 "src/zlib-1.2.8"))))))
23115 (build-system python-build-system)
23116 (inputs
23117 `(("libpng" ,libpng)
23118 ("libtiff" ,libtiff)
23119 ("python2-wxpython" ,python2-wxpython)
23120 ("zlib" ,zlib)))
23121 (arguments
23122 `(#:python ,python-2))
23123 (synopsis "Framework for building document analysis applications")
23124 (description
23125 "Gamera is a toolkit for building document image recognition systems.")
23126 (home-page "https://gamera.informatik.hsnr.de/")
23127 (license license:gpl2+)))