[1e08614] | 1 | (define-module (kiwix)
|
---|
| 2 | #:use-module ((guix licenses) #:prefix license:)
|
---|
| 3 | #:use-module (guix packages)
|
---|
| 4 | #:use-module (guix download)
|
---|
| 5 | #:use-module (guix build-system gnu)
|
---|
| 6 | #:use-module (guix git-download)
|
---|
| 7 | #:use-module (guix licenses)
|
---|
| 8 | #:use-module (guix utils)
|
---|
| 9 | #:use-module (guix build-system meson)
|
---|
| 10 | #:use-module (gnu packages cmake)
|
---|
| 11 | #:use-module (gnu packages web)
|
---|
| 12 | #:use-module (gnu packages gnunet)
|
---|
| 13 | #:use-module (gnu packages pkg-config)
|
---|
| 14 | #:use-module (gnu packages search)
|
---|
| 15 | #:use-module (gnu packages icu4c)
|
---|
| 16 | #:use-module (gnu packages xml)
|
---|
| 17 | #:use-module (gnu packages curl)
|
---|
| 18 | #:use-module (gnu packages compression))
|
---|
| 19 |
|
---|
| 20 | (define-public kiwix-tools
|
---|
| 21 | (package
|
---|
| 22 | (name "kiwix-tools")
|
---|
| 23 | (version "3.1.2")
|
---|
| 24 | (source (origin
|
---|
| 25 | (method git-fetch)
|
---|
| 26 | (uri (git-reference
|
---|
| 27 | (url "https://github.com/kiwix/kiwix-tools.git")
|
---|
| 28 | ;;(commit (string-append "v" version))
|
---|
| 29 | (commit version)
|
---|
| 30 | ))
|
---|
| 31 | (file-name (git-file-name name version))
|
---|
| 32 | (sha256
|
---|
| 33 | (base32
|
---|
| 34 | "1jmvw9llmj8cah6kwmdamwjpakz9ly688a988kd7sy22av8jnz4b"))))
|
---|
| 35 | (build-system meson-build-system)
|
---|
| 36 | (native-inputs
|
---|
| 37 | `(("cmake" ,cmake)))
|
---|
| 38 | (inputs
|
---|
| 39 | `(
|
---|
| 40 | ("libzim" ,libzim)
|
---|
| 41 | ("libmicrohttpd" ,libmicrohttpd)
|
---|
| 42 | ("zlib" ,zlib)
|
---|
| 43 | ("pkg-config" ,pkg-config)
|
---|
| 44 | ("zstd" ,zstd "lib")
|
---|
| 45 | ("xapian" ,xapian)
|
---|
| 46 | ("icu4c" ,icu4c)
|
---|
| 47 | ("pugixml" ,pugixml)
|
---|
| 48 | ("curl" ,curl)
|
---|
| 49 | ))
|
---|
| 50 | (propagated-inputs
|
---|
| 51 | `(("kiwix-lib" ,kiwix-lib)))
|
---|
| 52 | (home-page "https://kiwix.org/")
|
---|
| 53 | (synopsis "")
|
---|
| 54 | (description
|
---|
| 55 | "")
|
---|
| 56 | (license license:gpl3+)))
|
---|