zim: 0.69.1 -> 0.70

This commit is contained in:
Pascal Wittmann 2019-04-06 14:15:39 +02:00
parent 9e9e73b116
commit d5934d3dfc
No known key found for this signature in database
GPG Key ID: C899ACE7E2322852

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python2Packages }:
{ stdenv, fetchurl, python3Packages, gtk3, gobject-introspection, wrapGAppsHook }:
#
# TODO: Declare configuration options for the following optional dependencies:
@ -7,22 +7,17 @@
# - pyxdg: Need to make it work first (see setupPyInstallFlags).
#
python2Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
name = "zim-${version}";
version = "0.69.1";
version = "0.70";
src = fetchurl {
url = "http://zim-wiki.org/downloads/${name}.tar.gz";
sha256 = "1yzb8x4mjp96zshcw7xbd4mvqn8zmbcm7cndskpxyk5yccyn5awq";
sha256 = "1g1xj86iph1a2k4n9yykq0gipbd5jdd7fsh9qpv4v2h5lggadjdd";
};
propagatedBuildInputs = with python2Packages; [ pyGtkGlade pyxdg pygobject2 ];
preBuild = ''
export HOME=$TMP
sed -i '/zim_install_class,/d' setup.py
'';
buildInputs = [ gtk3 gobject-introspection wrapGAppsHook ];
propagatedBuildInputs = with python3Packages; [ pyxdg pygobject3 ];
preFixup = ''