diff --git a/pkgs/applications/editors/focuswriter/default.nix b/pkgs/applications/editors/focuswriter/default.nix new file mode 100644 index 000000000000..bc9163e63cb4 --- /dev/null +++ b/pkgs/applications/editors/focuswriter/default.nix @@ -0,0 +1,25 @@ +{stdenv, fetchurl, qt4, pkgconfig, hunspell}: + +stdenv.mkDerivation rec { + name = "focuswriter-${version}"; + version = "1.5.3"; + + src = fetchurl { + url = http://gottcode.org/focuswriter/focuswriter-1.5.3-src.tar.bz2; + sha256 = "1i58jxbiy95ijf81g8c3gwxhcg3irzssna3wv7vhrd57g4lcfj0w"; + }; + + buildInputs = [ qt4 pkgconfig hunspell ]; + + configurePhase = "qmake PREFIX=/"; + + installPhase = "make install INSTALL_ROOT=$out"; + + meta = { + description = "Simple, distraction-free writing environment"; + license = stdenv.lib.licenses.gpl2; + maintainers = [ stdenv.lib.maintainers.madjar ]; + platforms = stdenv.lib.platforms.all; + homepage = "http://gottcode.org/focuswriter/"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 22abe6098cb7..7c62680f6204 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9319,6 +9319,8 @@ let fluidsynth = callPackage ../applications/audio/fluidsynth { }; + focuswriter = callPackage ../applications/editors/focuswriter { }; + fossil = callPackage ../applications/version-management/fossil { }; freewheeling = callPackage ../applications/audio/freewheeling { };