git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #29973 from yegortimoshenko/focuswriter/qt5

focuswriter: 1.5.3 -> 1.6.7, Qt4 -> Qt5, GPLv2 -> GPLv3

commitc822bfa02f3538a8ebdaa10e5748a01f5008b448 authorOrivej Desh <orivej@gmx.fr> dateSun 1 Oct 2017, 06:36 (9 years ago) parent6b922a631ab1a3
2 files changed+14−12
pkgs/applications/editors/focuswriter/default.nix+13−11 pkgs/top-level/all-packages.nix+1−1
pkgs/applications/editors/focuswriter/default.nix+13−11
@@ -1,25 +1,27 @@
1−{ stdenv, fetchurl, qt4, qmake4Hook, pkgconfig, hunspell }:
1+{ stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia }:
22
33stdenv.mkDerivation rec {
44 name = "focuswriter-${version}";
5− version = "1.5.3";
5+ version = "1.6.7";
66
77 src = fetchurl {
8− url = http://gottcode.org/focuswriter/focuswriter-1.5.3-src.tar.bz2;
9− sha256 = "1i58jxbiy95ijf81g8c3gwxhcg3irzssna3wv7vhrd57g4lcfj0w";
8+ url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
9+ sha256 = "10rqzinr6yd6ca06rklg34kdc08a3xgygfzmprsfg7gdsybfay5z";
1010 };
1111
12− buildInputs = [ qt4 qmake4Hook pkgconfig hunspell ];
13−
14− qmakeFlags = [ "PREFIX=/" ];
12+ nativeBuildInputs = [ pkgconfig qmake qttools ];
13+ buildInputs = [ hunspell qtbase qtmultimedia ];
14+
15+ enableParallelBuilding = true;
1516
17+ qmakeFlags = [ "PREFIX=/" ];
1618 installFlags = [ "INSTALL_ROOT=$(out)" ];
1719
18− meta = {
20+ meta = with stdenv.lib; {
1921 description = "Simple, distraction-free writing environment";
20− license = stdenv.lib.licenses.gpl2;
21− maintainers = [ stdenv.lib.maintainers.madjar ];
22− platforms = stdenv.lib.platforms.all;
22+ license = licenses.gpl3Plus;
23+ maintainers = with maintainers; [ madjar ];
24+ platforms = platforms.all;
2325 homepage = https://gottcode.org/focuswriter/;
2426 };
2527}
pkgs/top-level/all-packages.nix+1−1
@@ -14368,7 +14368,7 @@ with pkgs;
1436814368
1436914369 fmsynth = callPackage ../applications/audio/fmsynth { };
1437014370
14371− focuswriter = callPackage ../applications/editors/focuswriter { };
14371+ focuswriter = libsForQt5.callPackage ../applications/editors/focuswriter { };
1437214372
1437314373 font-manager = callPackage ../applications/misc/font-manager { };
1437414374