mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
commit
6bccbe6372
1 changed files with 6 additions and 11 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue