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