summary refs log tree commit diff
path: root/pkgs/applications/editors/focuswriter/default.nix
blob: 0c8a8e787fb287c52a60b9ccd13a8343752b6664 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchurl, qt4, qmake4Hook, 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";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ qt4 qmake4Hook hunspell ];
  
  qmakeFlags = [ "PREFIX=/" ];

  installFlags = [ "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 = https://gottcode.org/focuswriter/;
  };
}