diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/focuswriter')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/focuswriter/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/focuswriter/default.nix b/nixpkgs/pkgs/applications/editors/focuswriter/default.nix new file mode 100644 index 000000000000..d47c315f613a --- /dev/null +++ b/nixpkgs/pkgs/applications/editors/focuswriter/default.nix @@ -0,0 +1,27 @@ +{ lib, fetchurl, pkg-config, qmake, qttools, hunspell, qtbase, qtmultimedia, mkDerivation }: + +mkDerivation rec { + pname = "focuswriter"; + version = "1.7.6"; + + src = fetchurl { + url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2"; + sha256 = "0h85f6cs9zbxv118mjfxqfv41j19zkx2xq36mpnlmrlzkjj7dx9l"; + }; + + nativeBuildInputs = [ pkg-config qmake qttools ]; + buildInputs = [ hunspell qtbase qtmultimedia ]; + + enableParallelBuilding = true; + + qmakeFlags = [ "PREFIX=/" ]; + installFlags = [ "INSTALL_ROOT=$(out)" ]; + + meta = with lib; { + description = "Simple, distraction-free writing environment"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ madjar ]; + platforms = platforms.linux; + homepage = "https://gottcode.org/focuswriter/"; + }; +} |