Unverified Commit 83c4166a authored by Nikolay Korotkiy's avatar Nikolay Korotkiy Committed by GitHub
Browse files

doublecmd: 1.1.25 -> 1.1.26 (#415618)

parents f858d0aa c6b28046
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -10,17 +10,18 @@
  libX11,
  libqtpas,
  wrapQtAppsHook,
  writableTmpDirAsHomeHook,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "doublecmd";
  version = "1.1.25";
  version = "1.1.26";

  src = fetchFromGitHub {
    owner = "doublecmd";
    repo = "doublecmd";
    rev = "v${finalAttrs.version}";
    hash = "sha256-8N1hgbTMIyExZfsxtJAWoT85LaU9pSv7GaXxQYWgEZ4=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-1rUAyI+Qe4I6F1T9KxMxHxedcARav6CE8W5qvWLu8Y0=";
  };

  nativeBuildInputs = [
@@ -28,6 +29,7 @@ stdenv.mkDerivation (finalAttrs: {
    getopt
    lazarus
    wrapQtAppsHook
    writableTmpDirAsHomeHook
  ];

  buildInputs = [
@@ -42,15 +44,14 @@ stdenv.mkDerivation (finalAttrs: {
  postPatch = ''
    patchShebangs build.sh install/linux/install.sh
    substituteInPlace build.sh \
      --replace '$(which lazbuild)' '"${lazarus}/bin/lazbuild --lazarusdir=${lazarus}/share/lazarus"'
      --replace-warn '$(which lazbuild)' '"${lazarus}/bin/lazbuild --lazarusdir=${lazarus}/share/lazarus"'
    substituteInPlace install/linux/install.sh \
      --replace '$DC_INSTALL_PREFIX/usr' '$DC_INSTALL_PREFIX'
      --replace-warn '$DC_INSTALL_PREFIX/usr' '$DC_INSTALL_PREFIX'
  '';

  buildPhase = ''
    runHook preBuild

    export HOME=$(mktemp -d)
    ./build.sh release qt5

    runHook postBuild