From 79a68c3816823c2c76871f6a2d17259a1031a530 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sun, 17 Jul 2022 23:19:23 +0800 Subject: [PATCH] xed-editor: 3.2.2 -> 3.2.7 This is not cmake project. Upstream now provides a post install script. --- pkgs/applications/editors/xed-editor/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/editors/xed-editor/default.nix b/pkgs/applications/editors/xed-editor/default.nix index 7e36aeccdec7..834130af12b4 100644 --- a/pkgs/applications/editors/xed-editor/default.nix +++ b/pkgs/applications/editors/xed-editor/default.nix @@ -1,7 +1,6 @@ { stdenv , lib , fetchFromGitHub -, cmake , libxml2 , libpeas , glib @@ -10,30 +9,32 @@ , gspell , xapps , pkg-config +, python3 , meson , ninja , wrapGAppsHook , intltool -, itstool }: +, itstool +}: stdenv.mkDerivation rec { pname = "xed-editor"; - version = "3.2.2"; + version = "3.2.7"; src = fetchFromGitHub { owner = "linuxmint"; repo = "xed"; rev = version; - sha256 = "sha256-PW7y3+Sa9FH5r5xvziysvxM08RJCPvnLs3wsm5IqToQ="; + sha256 = "sha256-aO5ilmlkSAxlkWYdSLmrcm7pC8GbITpCitd4TXp5tfY="; }; nativeBuildInputs = [ meson - cmake pkg-config intltool itstool ninja + python3 wrapGAppsHook ]; @@ -47,10 +48,6 @@ stdenv.mkDerivation rec { xapps ]; - postInstall = '' - glib-compile-schemas $out/share/glib-2.0/schemas - ''; - doInstallCheck = true; installCheckPhase = '' if [[ "$($out/bin/xed --version)" == "xed - Version ${version}" ]] ; then