Last active
July 18, 2017 06:43
-
-
Save nicorikken/8d3a23b01ed15c01ecc354d231ed9893 to your computer and use it in GitHub Desktop.
Zim Guix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** (process:24640): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' | |
** (process:24640): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' | |
** (process:24640): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags' | |
(.zim-real:24640): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", | |
(.zim-real:24640): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", | |
Gtk-Message: Failed to load module "canberra-gtk-module" | |
WARNING: Could not find all icon sizes for the application icon |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-module (gnu packages zim) | |
#:use-module (guix packages) | |
#:use-module (guix download) | |
#:use-module (guix build-system python) | |
#:use-module (guix licenses) | |
#:use-module (gnu packages freedesktop) | |
#:use-module (gnu packages gtk) | |
#:use-module (gnu packages python)) | |
(define-public zim | |
(package | |
(name "zim") | |
(version "0.67") | |
(source (origin | |
(method url-fetch) | |
(uri (string-append "http://zim-wiki.org/downloads/zim-" version ".tar.gz")) | |
(sha256 | |
(base32 | |
"1gdbzy9qyzj3rn9fsl0ss7lbk9kyka99656bphx2dah694yyyz5k")))) | |
(build-system python-build-system) | |
(arguments | |
`(#:python ,python-2 | |
#:use-setuptools? #f ;; uses distutils rather than setuptools | |
#:tests? #f ;; no 'python setup.py test' command | |
#:phases | |
(modify-phases %standard-phases | |
(add-before 'build 'supply-home-dir | |
(lambda _ | |
;; Tests require write access to HOME. | |
(setenv "HOME" (getcwd)) #t))))) | |
(inputs | |
`(("python2-pygtk" ,python2-pygtk) | |
("python2-pyxdg" ,python2-pyxdg) | |
("desktop-file-utils" ,desktop-file-utils))) | |
(synopsis "Zim - A Desktop Wiki Editor") | |
(description "") | |
(home-page "http://zim-wiki.org/") | |
(license gpl2+))) | |
zim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment