cherrytree: fix build (#72261)

This commit is contained in:
Pavol Rusnak 2019-10-29 22:38:42 +01:00 committed by Dmitry Kalinkin
parent 9aea511afe
commit 3adeca3775

View File

@ -1,8 +1,6 @@
{ stdenv, fetchurl, pythonPackages, gettext }: { lib, fetchurl, pythonPackages, gettext }:
with stdenv.lib;
stdenv.mkDerivation rec {
pythonPackages.buildPythonApplication rec {
pname = "cherrytree"; pname = "cherrytree";
version = "0.38.9"; version = "0.38.9";
@ -11,26 +9,15 @@ stdenv.mkDerivation rec {
sha256 = "0xal09ijgxbzvp003s40xbrfnpq3ald1fw8nnpqq3yg7h6g6c5pw"; sha256 = "0xal09ijgxbzvp003s40xbrfnpq3ald1fw8nnpqq3yg7h6g6c5pw";
}; };
buildInputs = with pythonPackages; nativeBuildInputs = [ gettext ];
[ python gettext wrapPython pygtk dbus-python pygtksourceview ];
pythonPath = with pythonPackages; propagatedBuildInputs = with pythonPackages; [ pygtk dbus-python pygtksourceview ];
[ pygtk dbus-python pygtksourceview ];
patches = [ ./subprocess.patch ]; patches = [ ./subprocess.patch ];
installPhase = ''
python setup.py install --prefix="$out"
for file in "$out"/bin/*; do
wrapProgram "$file" \
--prefix PYTHONPATH : "$(toPythonPath $out):$PYTHONPATH"
done
'';
doCheck = false; doCheck = false;
meta = { meta = with lib; {
description = "An hierarchical note taking application"; description = "An hierarchical note taking application";
longDescription = '' longDescription = ''
Cherrytree is an hierarchical note taking application, Cherrytree is an hierarchical note taking application,
@ -42,9 +29,8 @@ stdenv.mkDerivation rec {
around your hard drive can be conveniently placed into a around your hard drive can be conveniently placed into a
Cherrytree document where you can easily find it. Cherrytree document where you can easily find it.
''; '';
homepage = http://www.giuspen.com/cherrytree; homepage = "http://www.giuspen.com/cherrytree";
license = licenses.gpl3; license = licenses.gpl3;
platforms = platforms.linux; maintainers = with maintainers; [ AndersonTorres ];
maintainers = [ maintainers.AndersonTorres ];
}; };
} }