mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-25 13:35:13 +00:00
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:
parent
890385c26e
commit
79a68c3816
@ -1,7 +1,6 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
|
||||||
, libxml2
|
, libxml2
|
||||||
, libpeas
|
, libpeas
|
||||||
, glib
|
, glib
|
||||||
@ -10,30 +9,32 @@
|
|||||||
, gspell
|
, gspell
|
||||||
, xapps
|
, xapps
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, python3
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
, intltool
|
, intltool
|
||||||
, itstool }:
|
, itstool
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "xed-editor";
|
pname = "xed-editor";
|
||||||
version = "3.2.2";
|
version = "3.2.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "linuxmint";
|
owner = "linuxmint";
|
||||||
repo = "xed";
|
repo = "xed";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-PW7y3+Sa9FH5r5xvziysvxM08RJCPvnLs3wsm5IqToQ=";
|
sha256 = "sha256-aO5ilmlkSAxlkWYdSLmrcm7pC8GbITpCitd4TXp5tfY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
cmake
|
|
||||||
pkg-config
|
pkg-config
|
||||||
intltool
|
intltool
|
||||||
itstool
|
itstool
|
||||||
ninja
|
ninja
|
||||||
|
python3
|
||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -47,10 +48,6 @@ stdenv.mkDerivation rec {
|
|||||||
xapps
|
xapps
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
glib-compile-schemas $out/share/glib-2.0/schemas
|
|
||||||
'';
|
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
if [[ "$($out/bin/xed --version)" == "xed - Version ${version}" ]] ; then
|
if [[ "$($out/bin/xed --version)" == "xed - Version ${version}" ]] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user