6809540815
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 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.12 with grep in /nix/store/5vxpci5k243yxhrks31rfgmdvcmw01cz-focuswriter-1.6.12 - directory tree listing: https://gist.github.com/fe69e568c10ec79e4eaa27180b24e4c0
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.12";
|
|
|
|
src = fetchurl {
|
|
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
|
|
sha256 = "0vcr9dhfsdls2x493klv7w5kn08iqqfg2jwjcbz274mcnd07bpqj";
|
|
};
|
|
|
|
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/;
|
|
};
|
|
}
|