nixpkgs/pkgs/applications/editors/focuswriter/default.nix

28 lines
814 B
Nix
Raw Normal View History

2019-08-19 00:45:00 -07:00
{ stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia, mkDerivation }:
2014-11-01 13:12:50 -07:00
2019-08-19 00:45:00 -07:00
mkDerivation rec {
pname = "focuswriter";
2020-01-19 23:24:05 -08:00
version = "1.7.4";
2014-11-01 13:12:50 -07:00
src = fetchurl {
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
2020-01-19 23:24:05 -08:00
sha256 = "1fli85p9d58gsg2kwmncqdcw1nmx062kddbrhr50mnsn04dc4j3g";
2014-11-01 13:12:50 -07:00
};
nativeBuildInputs = [ pkgconfig qmake qttools ];
buildInputs = [ hunspell qtbase qtmultimedia ];
enableParallelBuilding = true;
2014-11-01 13:12:50 -07:00
qmakeFlags = [ "PREFIX=/" ];
2016-04-16 16:26:41 -07:00
installFlags = [ "INSTALL_ROOT=$(out)" ];
2014-11-01 13:12:50 -07:00
meta = with stdenv.lib; {
2014-11-01 13:12:50 -07:00
description = "Simple, distraction-free writing environment";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ madjar ];
2018-03-17 11:31:17 -07:00
platforms = platforms.linux;
homepage = https://gottcode.org/focuswriter/;
2014-11-01 13:12:50 -07:00
};
}