mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
7968bf4935
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.
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.15";
|
|
|
|
src = fetchurl {
|
|
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
|
|
sha256 = "0afs9cm5q7zxag28m427ycwwxkbn47zw7v111x7963ydqyn9gr9q";
|
|
};
|
|
|
|
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/;
|
|
};
|
|
}
|