From e1cd8f0f96b2dddcb18ef52c2be3509de3dd2c03 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Fri, 25 Nov 2016 09:33:32 +0100 Subject: [PATCH] zim: use python2 --- pkgs/applications/office/zim/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/office/zim/default.nix b/pkgs/applications/office/zim/default.nix index 313239581a1a..227b982689e1 100644 --- a/pkgs/applications/office/zim/default.nix +++ b/pkgs/applications/office/zim/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchurl, pythonPackages }: +{ stdenv, lib, fetchurl, python2Packages }: # # TODO: Declare configuration options for the following optional dependencies: @@ -7,17 +7,16 @@ # - pyxdg: Need to make it work first (see setupPyInstallFlags). # -pythonPackages.buildPythonApplication rec { +python2Packages.buildPythonApplication rec { name = "zim-${version}"; version = "0.65"; - namePrefix = ""; src = fetchurl { url = "http://zim-wiki.org/downloads/${name}.tar.gz"; sha256 = "15pdq4fxag85qjsrdmmssiq85qsk5vnbp8mrqnpvx8lm8crz6hjl"; }; - propagatedBuildInputs = with pythonPackages; [ pyGtkGlade pyxdg pygobject2 ]; + propagatedBuildInputs = with python2Packages; [ pyGtkGlade pyxdg pygobject2 ]; preBuild = '' export HOME=$TMP