Skip to content

Commit

Permalink
zim: 0.69.1 -> 0.70
Browse files Browse the repository at this point in the history
  • Loading branch information
pSub committed Apr 6, 2019
1 parent ad73d46 commit 8889b1c
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions pkgs/applications/office/zim/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, python2Packages }:
{ stdenv, fetchurl, python3Packages, gtk3, gobjectIntrospection, wrapGAppsHook }:

#
# TODO: Declare configuration options for the following optional dependencies:
Expand All @@ -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 gobjectIntrospection wrapGAppsHook ];
propagatedBuildInputs = with python3Packages; [ pyxdg pygobject3 ];


preFixup = ''
Expand Down

0 comments on commit 8889b1c

Please sign in to comment.