mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 03:48:57 +00:00
28 lines
814 B
Nix
28 lines
814 B
Nix
{ stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia, mkDerivation }:
|
|
|
|
mkDerivation rec {
|
|
pname = "focuswriter";
|
|
version = "1.7.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
|
|
sha256 = "1fli85p9d58gsg2kwmncqdcw1nmx062kddbrhr50mnsn04dc4j3g";
|
|
};
|
|
|
|
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/;
|
|
};
|
|
}
|