Merge pull request #111040 from tu-maurice/unstable/xed-editor-2.8.4

xed-editor: Init at 2.8.4

authored by

taku0 and committed by
GitHub
8e1b8195 7edf60f8

+75
+71
pkgs/applications/editors/xed-editor/default.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchFromGitHub 4 + , cmake 5 + , libxml2 6 + , libpeas 7 + , glib 8 + , gtk3 9 + , gtksourceview4 10 + , gspell 11 + , xapps 12 + , pkg-config 13 + , meson 14 + , ninja 15 + , wrapGAppsHook 16 + , intltool 17 + , itstool }: 18 + 19 + stdenv.mkDerivation rec { 20 + pname = "xed-editor"; 21 + version = "2.8.4"; 22 + 23 + src = fetchFromGitHub { 24 + owner = "linuxmint"; 25 + repo = "xed"; 26 + rev = version; 27 + sha256 = "1hqr4157kp110p01jygqnnzj86zxlfiq4b53j345vqpx0f80c340"; 28 + }; 29 + 30 + nativeBuildInputs = [ 31 + meson 32 + cmake 33 + pkg-config 34 + intltool 35 + itstool 36 + ninja 37 + wrapGAppsHook 38 + ]; 39 + 40 + buildInputs = [ 41 + libxml2 42 + glib 43 + gtk3 44 + gtksourceview4 45 + libpeas 46 + gspell 47 + xapps 48 + ]; 49 + 50 + postInstall = '' 51 + glib-compile-schemas $out/share/glib-2.0/schemas 52 + ''; 53 + 54 + doInstallCheck = true; 55 + installCheckPhase = '' 56 + if [[ "$($out/bin/xed --version)" == "xed - Version ${version}" ]] ; then 57 + echo "${pname} smoke test passed" 58 + else 59 + echo "${pname} smoke test failed" 60 + return 1 61 + fi 62 + ''; 63 + 64 + meta = with lib; { 65 + description = "Light weight text editor from Linux Mint"; 66 + homepage = "https://github.com/linuxmint/xed"; 67 + license = licenses.gpl2Only; 68 + platforms = platforms.linux; 69 + maintainers = with maintainers; [ tu-maurice ]; 70 + }; 71 + }
+4
pkgs/top-level/all-packages.nix
··· 26143 26143 26144 26144 xdotool = callPackage ../tools/X11/xdotool { }; 26145 26145 26146 + xed-editor = callPackage ../applications/editors/xed-editor { 26147 + xapps = cinnamon.xapps; 26148 + }; 26149 + 26146 26150 xenPackages = recurseIntoAttrs (callPackage ../applications/virtualization/xen/packages.nix {}); 26147 26151 26148 26152 xen = xenPackages.xen-vanilla;