Skip to content

Instantly share code, notes, and snippets.

@nicorikken
Last active July 18, 2017 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicorikken/8d3a23b01ed15c01ecc354d231ed9893 to your computer and use it in GitHub Desktop.
Save nicorikken/8d3a23b01ed15c01ecc354d231ed9893 to your computer and use it in GitHub Desktop.
Zim Guix
** (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
(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