diff options
Diffstat (limited to 'pkgs/applications/editors/xed-editor/default.nix')
-rw-r--r-- | pkgs/applications/editors/xed-editor/default.nix | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/pkgs/applications/editors/xed-editor/default.nix b/pkgs/applications/editors/xed-editor/default.nix deleted file mode 100644 index 7458618a1e143..0000000000000 --- a/pkgs/applications/editors/xed-editor/default.nix +++ /dev/null @@ -1,75 +0,0 @@ -{ stdenv -, lib -, fetchFromGitHub -, libxml2 -, libpeas -, glib -, gtk3 -, gtksourceview4 -, gspell -, xapp -, pkg-config -, python3 -, meson -, ninja -, wrapGAppsHook3 -, intltool -, itstool -}: - -stdenv.mkDerivation rec { - pname = "xed-editor"; - version = "3.6.3"; - - src = fetchFromGitHub { - owner = "linuxmint"; - repo = "xed"; - rev = version; - sha256 = "sha256-xsNqzicI11dM/DjY00pXaPpQdHA0ltP23g34fMWUoUA="; - }; - - patches = [ - # We patch gobject-introspection and meson to store absolute paths to libraries in typelibs - # but that requires the install_dir is an absolute path. - ./correct-gir-lib-path.patch - ]; - - nativeBuildInputs = [ - meson - pkg-config - intltool - itstool - ninja - python3 - wrapGAppsHook3 - ]; - - buildInputs = [ - libxml2 - glib - gtk3 - gtksourceview4 - libpeas - gspell - xapp - ]; - - doInstallCheck = true; - installCheckPhase = '' - if [[ "$($out/bin/xed --version)" == "xed - Version ${version}" ]] ; then - echo "${pname} smoke test passed" - else - echo "${pname} smoke test failed" - return 1 - fi - ''; - - meta = with lib; { - description = "Light weight text editor from Linux Mint"; - homepage = "https://github.com/linuxmint/xed"; - license = licenses.gpl2Only; - platforms = platforms.linux; - maintainers = with maintainers; [ tu-maurice bobby285271 ]; - mainProgram = "xed"; - }; -} |