nixpkgs/pkgs/applications/editors/focuswriter/default.nix
R. RyanTM 459aceacc3 focuswriter: 1.7.1 -> 1.7.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/focuswriter/versions
2019-03-10 13:19:25 +01:00

28 lines
817 B
Nix

{ stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia }:
stdenv.mkDerivation rec {
name = "focuswriter-${version}";
version = "1.7.2";
src = fetchurl {
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
sha256 = "1qsfcrscm3s0h7wcl6qn8zi0irr70zdacjxsdk73kpk1dhl2j85k";
};
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.linux;
homepage = https://gottcode.org/focuswriter/;
};
}