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

28 lines
815 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia }:
2014-11-01 20:12:50 +00:00
stdenv.mkDerivation rec {
name = "focuswriter-${version}";
2017-12-31 16:39:40 +00:00
version = "1.6.8";
2014-11-01 20:12:50 +00:00
src = fetchurl {
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
2017-12-31 16:39:40 +00:00
sha256 = "1d2q99xa7dhdpqkipapzi1r1mvynf70s7sgdczd59kn0d8sr3map";
2014-11-01 20:12:50 +00:00
};
nativeBuildInputs = [ pkgconfig qmake qttools ];
buildInputs = [ hunspell qtbase qtmultimedia ];
enableParallelBuilding = true;
2014-11-01 20:12:50 +00:00
qmakeFlags = [ "PREFIX=/" ];
2016-04-16 23:26:41 +00:00
installFlags = [ "INSTALL_ROOT=$(out)" ];
2014-11-01 20:12:50 +00:00
meta = with stdenv.lib; {
2014-11-01 20:12:50 +00:00
description = "Simple, distraction-free writing environment";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ madjar ];
platforms = platforms.all;
homepage = https://gottcode.org/focuswriter/;
2014-11-01 20:12:50 +00:00
};
}