xed-editor: 3.2.2 -> 3.2.7

This is not cmake project. Upstream now provides a post install script.
This commit is contained in:
Bobby Rong 2022-07-17 23:19:23 +08:00
parent 890385c26e
commit 79a68c3816
No known key found for this signature in database
GPG key ID: ED07364437C91161

View file

@ -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