2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, qmake, qttools, hunspell, qtbase, qtmultimedia, mkDerivation }:
|
2014-11-01 20:12:50 +00:00
|
|
|
|
2019-08-19 07:45:00 +00:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "focuswriter";
|
2020-05-05 03:50:38 +00:00
|
|
|
version = "1.7.6";
|
2014-11-01 20:12:50 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-10-01 01:50:29 +00:00
|
|
|
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
|
2020-05-05 03:50:38 +00:00
|
|
|
sha256 = "0h85f6cs9zbxv118mjfxqfv41j19zkx2xq36mpnlmrlzkjj7dx9l";
|
2014-11-01 20:12:50 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config qmake qttools ];
|
2017-10-01 01:50:29 +00:00
|
|
|
buildInputs = [ hunspell qtbase qtmultimedia ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2014-11-01 20:12:50 +00:00
|
|
|
|
2017-10-01 01:50:29 +00:00
|
|
|
qmakeFlags = [ "PREFIX=/" ];
|
2016-04-16 23:26:41 +00:00
|
|
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
2014-11-01 20:12:50 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-11-01 20:12:50 +00:00
|
|
|
description = "Simple, distraction-free writing environment";
|
2017-10-01 01:50:29 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ madjar ];
|
2018-03-17 18:31:17 +00:00
|
|
|
platforms = platforms.linux;
|
2020-03-06 09:52:03 +00:00
|
|
|
homepage = "https://gottcode.org/focuswriter/";
|
2014-11-01 20:12:50 +00:00
|
|
|
};
|
|
|
|
}
|