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

28 lines
817 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia }:
2014-11-01 21:12:50 +01:00
stdenv.mkDerivation rec {
name = "focuswriter-${version}";
version = "1.7.2";
2014-11-01 21:12:50 +01:00
src = fetchurl {
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
sha256 = "1qsfcrscm3s0h7wcl6qn8zi0irr70zdacjxsdk73kpk1dhl2j85k";
2014-11-01 21:12:50 +01:00
};
nativeBuildInputs = [ pkgconfig qmake qttools ];
buildInputs = [ hunspell qtbase qtmultimedia ];
enableParallelBuilding = true;
2014-11-01 21:12:50 +01:00
qmakeFlags = [ "PREFIX=/" ];
2016-04-17 01:26:41 +02:00
installFlags = [ "INSTALL_ROOT=$(out)" ];
2014-11-01 21:12:50 +01:00
meta = with stdenv.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;
homepage = https://gottcode.org/focuswriter/;
2014-11-01 21:12:50 +01:00
};
}