5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
38 lines
840 B
Nix
38 lines
840 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, cmake
|
|
, hunspell
|
|
, qtbase
|
|
, qtmultimedia
|
|
, qttools
|
|
, qt5compat
|
|
, qtwayland
|
|
, wrapQtAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "focuswriter";
|
|
version = "1.8.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gottcode";
|
|
repo = "focuswriter";
|
|
rev = "v${version}";
|
|
hash = "sha256-6wvTlC/NCCcN2jpwqtoOsCln3ViY/vj7NpMsbYHBGiI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config cmake qttools wrapQtAppsHook ];
|
|
buildInputs = [ hunspell qtbase qtmultimedia qt5compat qtwayland ];
|
|
|
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "Simple, distraction-free writing environment";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ madjar kashw2 ];
|
|
platforms = platforms.linux;
|
|
homepage = "https://gottcode.org/focuswriter/";
|
|
};
|
|
}
|