forked from mirrors/nixpkgs
6e2345c812
Semi-automatic update. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 1.6.10 with grep in /nix/store/xj71q5kp9k5m2nsfydjhjra8axf3kdj8-focuswriter-1.6.10 - found 1.6.10 in filename of file in /nix/store/xj71q5kp9k5m2nsfydjhjra8axf3kdj8-focuswriter-1.6.10
28 lines
816 B
Nix
28 lines
816 B
Nix
{ stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "focuswriter-${version}";
|
|
version = "1.6.10";
|
|
|
|
src = fetchurl {
|
|
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
|
|
sha256 = "0hrbycy5lapdkaa2xm90j45sgsiqdnlk9wry41kxxpdln9msabxs";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig qmake qttools ];
|
|
buildInputs = [ hunspell qtbase qtmultimedia ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
qmakeFlags = [ "PREFIX=/" ];
|
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Simple, distraction-free writing environment";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ madjar ];
|
|
platforms = platforms.all;
|
|
homepage = https://gottcode.org/focuswriter/;
|
|
};
|
|
}
|