Unverified Commit de5e0a74 authored by Aliaksandr's avatar Aliaksandr
Browse files

focuswriter: move to by-name

parent 17fe487f
Loading
Loading
Loading
Loading
+10 −16
Original line number Diff line number Diff line
@@ -2,41 +2,35 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  pkg-config,
  cmake,
  hunspell,
  qtbase,
  qtmultimedia,
  qttools,
  qt5compat,
  qtwayland,
  wrapQtAppsHook,
  qt6,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "focuswriter";
  version = "1.8.13";

  src = fetchFromGitHub {
    owner = "gottcode";
    repo = "focuswriter";
    rev = "v${version}";
    rev = "v${finalAttrs.version}";
    hash = "sha256-lKhgfFPEcipQcW1S2+ntglVacH6dEcGpnNHvwgeVIzI=";
  };

  nativeBuildInputs = [
    pkg-config
    cmake
    qttools
    wrapQtAppsHook
    qt6.qttools
    qt6.wrapQtAppsHook
  ];
  buildInputs = [
    hunspell
    qtbase
    qtmultimedia
    qt5compat
    qtwayland
    qt6.qtbase
    qt6.qtmultimedia
    qt6.qt5compat
    qt6.qtwayland
  ];

  installFlags = [ "INSTALL_ROOT=$(out)" ];
@@ -52,4 +46,4 @@ stdenv.mkDerivation rec {
    homepage = "https://gottcode.org/focuswriter/";
    mainProgram = "focuswriter";
  };
}
})
+0 −2
Original line number Diff line number Diff line
@@ -10079,8 +10079,6 @@ with pkgs;
    hamlib = hamlib_4;
  };

  focuswriter = qt6Packages.callPackage ../applications/editors/focuswriter { };

  fossil = callPackage ../applications/version-management/fossil {
    sqlite = sqlite.override { enableDeserialize = true; };
  };