zim: use python2
This commit is contained in:
parent
66d3b9a02d
commit
e1cd8f0f96
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchurl, pythonPackages }:
|
{ stdenv, lib, fetchurl, python2Packages }:
|
||||||
|
|
||||||
#
|
#
|
||||||
# TODO: Declare configuration options for the following optional dependencies:
|
# TODO: Declare configuration options for the following optional dependencies:
|
||||||
@ -7,17 +7,16 @@
|
|||||||
# - pyxdg: Need to make it work first (see setupPyInstallFlags).
|
# - pyxdg: Need to make it work first (see setupPyInstallFlags).
|
||||||
#
|
#
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
python2Packages.buildPythonApplication rec {
|
||||||
name = "zim-${version}";
|
name = "zim-${version}";
|
||||||
version = "0.65";
|
version = "0.65";
|
||||||
namePrefix = "";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://zim-wiki.org/downloads/${name}.tar.gz";
|
url = "http://zim-wiki.org/downloads/${name}.tar.gz";
|
||||||
sha256 = "15pdq4fxag85qjsrdmmssiq85qsk5vnbp8mrqnpvx8lm8crz6hjl";
|
sha256 = "15pdq4fxag85qjsrdmmssiq85qsk5vnbp8mrqnpvx8lm8crz6hjl";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [ pyGtkGlade pyxdg pygobject2 ];
|
propagatedBuildInputs = with python2Packages; [ pyGtkGlade pyxdg pygobject2 ];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
export HOME=$TMP
|
export HOME=$TMP
|
||||||
|
Loading…
Reference in New Issue
Block a user