c4a6319322
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. These checks were done: - built on NixOS - Warning: no invocation of /nix/store/xliiidqc3smccya1a4fc587hq0wl67hx-focuswriter-1.6.14/bin/focuswriter had a zero exit code or showed the expected version - 0 of 1 passed binary check by having a zero exit code. - 0 of 1 passed binary check by having the new version present in output. - found 1.6.14 with grep in /nix/store/xliiidqc3smccya1a4fc587hq0wl67hx-focuswriter-1.6.14 - directory tree listing: https://gist.github.com/9f4508c662704c3b5816978445e872fc - du listing: https://gist.github.com/1219d595782c68ce78122f6ec9566b23
27 lines
818 B
Nix
27 lines
818 B
Nix
{ stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "focuswriter-${version}";
|
|
version = "1.6.14";
|
|
|
|
src = fetchurl {
|
|
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
|
|
sha256 = "1n8ni4bnw5vs7jx28v8r1vk69g2m1q5h9s6xpf8c0bxbcwwg2m5i";
|
|
};
|
|
|
|
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/;
|
|
};
|
|
}
|