2016-04-17 00:26:41 +01:00
|
|
|
{ stdenv, fetchurl, qt4, qmake4Hook, pkgconfig, hunspell }:
|
2014-11-01 20:12:50 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2016-04-17 00:26:41 +01:00
|
|
|
buildInputs = [ qt4 qmake4Hook pkgconfig hunspell ];
|
2014-11-01 20:12:50 +00:00
|
|
|
|
2016-04-17 00:26:41 +01:00
|
|
|
qmakeFlags = [ "PREFIX=/" ];
|
2014-11-01 20:12:50 +00:00
|
|
|
|
2016-04-17 00:26:41 +01:00
|
|
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
2014-11-01 20:12:50 +00:00
|
|
|
|
|
|
|
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/";
|
|
|
|
};
|
|
|
|
}
|