2017-09-30 18:50:29 -07:00
|
|
|
{ stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia }:
|
2014-11-01 13:12:50 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "focuswriter-${version}";
|
2018-04-01 03:24:04 -07:00
|
|
|
version = "1.6.11";
|
2014-11-01 13:12:50 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-09-30 18:50:29 -07:00
|
|
|
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
|
2018-04-01 03:24:04 -07:00
|
|
|
sha256 = "0izbsm2vx24pnd92gf7ky8x47g324a8d16hy1s8kk3x1inxd80z1";
|
2014-11-01 13:12:50 -07:00
|
|
|
};
|
|
|
|
|
2017-09-30 18:50:29 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig qmake qttools ];
|
|
|
|
buildInputs = [ hunspell qtbase qtmultimedia ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2014-11-01 13:12:50 -07:00
|
|
|
|
2017-09-30 18:50:29 -07:00
|
|
|
qmakeFlags = [ "PREFIX=/" ];
|
2016-04-16 16:26:41 -07:00
|
|
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
2014-11-01 13:12:50 -07:00
|
|
|
|
2017-09-30 18:50:29 -07:00
|
|
|
meta = with stdenv.lib; {
|
2014-11-01 13:12:50 -07:00
|
|
|
description = "Simple, distraction-free writing environment";
|
2017-09-30 18:50:29 -07:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ madjar ];
|
|
|
|
platforms = platforms.all;
|
2017-08-02 14:50:51 -07:00
|
|
|
homepage = https://gottcode.org/focuswriter/;
|
2014-11-01 13:12:50 -07:00
|
|
|
};
|
|
|
|
}
|