Unverified Commit 99f1e7c3 authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

Merge pull request #327908 from bobby285271/upd/xed

xed-editor: 3.6.4 -> 3.6.5
parents 88fe9aab bb02c747
Loading
Loading
Loading
Loading
+5 −10
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
, python3
, meson
, ninja
, versionCheckHook
, wrapGAppsHook3
, intltool
, itstool
@@ -19,13 +20,13 @@

stdenv.mkDerivation rec {
  pname = "xed-editor";
  version = "3.6.4";
  version = "3.6.5";

  src = fetchFromGitHub {
    owner = "linuxmint";
    repo = "xed";
    rev = version;
    sha256 = "sha256-EwBcgFHw6Mh+eS5hfTLoywH0dVt/TpNt4y6xQxe/x/Q=";
    sha256 = "sha256-FG8SlMyhee0W88Pt3oW1tsFyy/KeCOE+QlDbE6hzjcg=";
  };

  patches = [
@@ -41,6 +42,7 @@ stdenv.mkDerivation rec {
    itstool
    ninja
    python3
    versionCheckHook
    wrapGAppsHook3
  ];

@@ -55,14 +57,7 @@ stdenv.mkDerivation rec {
  ];

  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
  '';
  versionCheckProgram = "${placeholder "out"}/bin/xed";

  meta = with lib; {
    description = "Light weight text editor from Linux Mint";