1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
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 16:12:50 -04:00
stdenv.mkDerivation rec {
name = "focuswriter-${version}";
version = "1.6.7";
2014-11-01 16:12:50 -04:00
src = fetchurl {
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
sha256 = "10rqzinr6yd6ca06rklg34kdc08a3xgygfzmprsfg7gdsybfay5z";
2014-11-01 16:12:50 -04:00
};
nativeBuildInputs = [ pkgconfig qmake qttools ];
buildInputs = [ hunspell qtbase qtmultimedia ];
enableParallelBuilding = true;
2014-11-01 16:12:50 -04:00
qmakeFlags = [ "PREFIX=/" ];
2016-04-16 19:26:41 -04:00
installFlags = [ "INSTALL_ROOT=$(out)" ];
2014-11-01 16:12:50 -04:00
meta = with stdenv.lib; {
2014-11-01 16:12:50 -04: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 16:12:50 -04:00
};
}