about summary refs log tree commit diff
path: root/pkgs/applications/editors/xed-editor
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-07-17 23:19:23 +0800
committerBobby Rong <rjl931189261@126.com>2022-07-30 19:51:15 +0800
commit79a68c3816823c2c76871f6a2d17259a1031a530 (patch)
tree4a3820fd2011cb748bcef81f41e0ba8f627c9331 /pkgs/applications/editors/xed-editor
parent890385c26e783e20f3b535b1817ee748b5d642d4 (diff)
xed-editor: 3.2.2 -> 3.2.7
This is not cmake project. Upstream now provides a post install script.
Diffstat (limited to 'pkgs/applications/editors/xed-editor')
-rw-r--r--pkgs/applications/editors/xed-editor/default.nix15
1 files changed, 6 insertions, 9 deletions
diff --git a/pkgs/applications/editors/xed-editor/default.nix b/pkgs/applications/editors/xed-editor/default.nix
index 7e36aeccdec76..834130af12b4b 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