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

26 lines
774 B
Nix
Raw Normal View History

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