7193d8653f
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/rj9lzdc106vkfwgw7f055ki4avyjzxg2-focuswriter-1.6.13/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.13 with grep in /nix/store/rj9lzdc106vkfwgw7f055ki4avyjzxg2-focuswriter-1.6.13 - directory tree listing: https://gist.github.com/db4b900533de6fbcd9a1a49a687360bb - du listing: https://gist.github.com/4a9ea745f0fc337735be9262721a0a12
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.13";
|
|
|
|
src = fetchurl {
|
|
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
|
|
sha256 = "1qs9v5r88scahpyw8ndr622fdnaib9789jvl2jnkwi62zcivbf6n";
|
|
};
|
|
|
|
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/;
|
|
};
|
|
}
|