summaryrefslogtreecommitdiff
path: root/guix/.guix-packages/kiwix.scm
blob: ec362f30bb1e3c2c730d5ee503ab8de7515a75de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
(define-module (kiwix)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (guix git-download)
  #:use-module (guix licenses)
  #:use-module (guix utils)
  #:use-module (guix build-system meson)
  #:use-module (gnu packages cmake)
  #:use-module (gnu packages web)
  #:use-module (gnu packages gnunet)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages search)
  #:use-module (gnu packages icu4c)
  #:use-module (gnu packages xml)
  #:use-module (gnu packages curl)
  #:use-module (gnu packages compression))

(define-public kiwix-tools
  (package
    (name "kiwix-tools")
    (version "3.1.2")
    (source (origin
              (method git-fetch)
              (uri (git-reference
		    (url "https://github.com/kiwix/kiwix-tools.git")
                    ;;(commit (string-append "v" version))
		    (commit version)
		    ))
              (file-name (git-file-name name version))
              (sha256
               (base32
		"1jmvw9llmj8cah6kwmdamwjpakz9ly688a988kd7sy22av8jnz4b"))))
    (build-system meson-build-system)
    (native-inputs
     `(("cmake" ,cmake)))
    (inputs
     `(
       ("libzim" ,libzim)
       ("libmicrohttpd" ,libmicrohttpd)
       ("zlib" ,zlib)
       ("pkg-config" ,pkg-config)
       ("zstd" ,zstd "lib")
       ("xapian" ,xapian)
       ("icu4c" ,icu4c)
       ("pugixml" ,pugixml)
       ("curl" ,curl)
       ))
    (propagated-inputs
     `(("kiwix-lib" ,kiwix-lib)))
    (home-page "https://kiwix.org/")
    (synopsis "")
    (description
     "")
    (license license:gpl3+)))