mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
09e0cc7cc7
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated https://repology.org/repository/nix_stable/problems
25 lines
715 B
Nix
25 lines
715 B
Nix
{ stdenv, fetchurl, qt4, qmake4Hook, pkgconfig, hunspell }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "focuswriter-${version}";
|
|
version = "1.5.3";
|
|
|
|
src = fetchurl {
|
|
url = http://gottcode.org/focuswriter/focuswriter-1.5.3-src.tar.bz2;
|
|
sha256 = "1i58jxbiy95ijf81g8c3gwxhcg3irzssna3wv7vhrd57g4lcfj0w";
|
|
};
|
|
|
|
buildInputs = [ qt4 qmake4Hook pkgconfig hunspell ];
|
|
|
|
qmakeFlags = [ "PREFIX=/" ];
|
|
|
|
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
|
|
|
meta = {
|
|
description = "Simple, distraction-free writing environment";
|
|
license = stdenv.lib.licenses.gpl2;
|
|
maintainers = [ stdenv.lib.maintainers.madjar ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
homepage = https://gottcode.org/focuswriter/;
|
|
};
|
|
}
|