2019-08-19 08:45:00 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia, mkDerivation }:
|
2014-11-01 20:12:50 +00:00
|
|
|
|
2019-08-19 08:45:00 +01:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "focuswriter";
|
2019-08-19 07:14:16 +01:00
|
|
|
version = "1.7.3";
|
2014-11-01 20:12:50 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-10-01 02:50:29 +01:00
|
|
|
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
|
2019-08-19 07:14:16 +01:00
|
|
|
sha256 = "155wf7z1g2yx6fb41w29kcb0m2rhnk9ci5yw882yy86s4x20b1jq";
|
2014-11-01 20:12:50 +00:00
|
|
|
};
|
|
|
|
|
2017-10-01 02:50:29 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig qmake qttools ];
|
|
|
|
buildInputs = [ hunspell qtbase qtmultimedia ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2014-11-01 20:12:50 +00:00
|
|
|
|
2017-10-01 02:50:29 +01:00
|
|
|
qmakeFlags = [ "PREFIX=/" ];
|
2016-04-17 00:26:41 +01:00
|
|
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
2014-11-01 20:12:50 +00:00
|
|
|
|
2017-10-01 02:50:29 +01:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-01 20:12:50 +00:00
|
|
|
description = "Simple, distraction-free writing environment";
|
2017-10-01 02:50:29 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ madjar ];
|
2018-03-17 18:31:17 +00:00
|
|
|
platforms = platforms.linux;
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://gottcode.org/focuswriter/;
|
2014-11-01 20:12:50 +00:00
|
|
|
};
|
|
|
|
}
|