texstudio: 4.8.4 -> 4.8.5 (#365076)
[NixPkgs.git] / pkgs / applications / editors / focuswriter / default.nix
blob1319120a1991d4ab21f7621f6b77a7c1d5b83248
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   pkg-config,
6   cmake,
7   hunspell,
8   qtbase,
9   qtmultimedia,
10   qttools,
11   qt5compat,
12   qtwayland,
13   wrapQtAppsHook,
16 stdenv.mkDerivation rec {
17   pname = "focuswriter";
18   version = "1.8.9";
20   src = fetchFromGitHub {
21     owner = "gottcode";
22     repo = "focuswriter";
23     rev = "v${version}";
24     hash = "sha256-FFfNjjVwi0bE6oc8LYhXrCKd+nwRQrjWzK5P4DSIIgs=";
25   };
27   nativeBuildInputs = [
28     pkg-config
29     cmake
30     qttools
31     wrapQtAppsHook
32   ];
33   buildInputs = [
34     hunspell
35     qtbase
36     qtmultimedia
37     qt5compat
38     qtwayland
39   ];
41   installFlags = [ "INSTALL_ROOT=$(out)" ];
43   meta = with lib; {
44     description = "Simple, distraction-free writing environment";
45     license = licenses.gpl3Plus;
46     maintainers = with maintainers; [
47       madjar
48       kashw2
49     ];
50     platforms = platforms.linux;
51     homepage = "https://gottcode.org/focuswriter/";
52     mainProgram = "focuswriter";
53   };