forked from mirrors/nixpkgs
cherrytree: fix build (#72261)
This commit is contained in:
parent
9aea511afe
commit
3adeca3775
|
@ -1,8 +1,6 @@
|
|||
{ stdenv, fetchurl, pythonPackages, gettext }:
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
{ lib, fetchurl, pythonPackages, gettext }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
pname = "cherrytree";
|
||||
version = "0.38.9";
|
||||
|
||||
|
@ -11,26 +9,15 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0xal09ijgxbzvp003s40xbrfnpq3ald1fw8nnpqq3yg7h6g6c5pw";
|
||||
};
|
||||
|
||||
buildInputs = with pythonPackages;
|
||||
[ python gettext wrapPython pygtk dbus-python pygtksourceview ];
|
||||
nativeBuildInputs = [ gettext ];
|
||||
|
||||
pythonPath = with pythonPackages;
|
||||
[ pygtk dbus-python pygtksourceview ];
|
||||
propagatedBuildInputs = with pythonPackages; [ pygtk dbus-python pygtksourceview ];
|
||||
|
||||
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;
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "An hierarchical note taking application";
|
||||
longDescription = ''
|
||||
Cherrytree is an hierarchical note taking application,
|
||||
|
@ -42,9 +29,8 @@ stdenv.mkDerivation rec {
|
|||
around your hard drive can be conveniently placed into a
|
||||
Cherrytree document where you can easily find it.
|
||||
'';
|
||||
homepage = http://www.giuspen.com/cherrytree;
|
||||
homepage = "http://www.giuspen.com/cherrytree";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue