git.iko.soy/typeable/nixpkgs
on master help sign in
focuswriter: added expression
commit5258211e32d37027a498f1bf6508f55dddb897fa authorGeorges Dubus <georges.dubus@compiletoi.net> dateSat 1 Nov 2014, 21:12 (12 years ago) parentf12ef69
2 files changed+27
pkgs/applications/editors/focuswriter/default.nix+25 pkgs/top-level/all-packages.nix+2
pkgs/applications/editors/focuswriter/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{stdenv, fetchurl, qt4, pkgconfig, hunspell}:
2+
3+stdenv.mkDerivation rec {
4+ name = "focuswriter-${version}";
5+ version = "1.5.3";
6+
7+ src = fetchurl {
8+ url = http://gottcode.org/focuswriter/focuswriter-1.5.3-src.tar.bz2;
9+ sha256 = "1i58jxbiy95ijf81g8c3gwxhcg3irzssna3wv7vhrd57g4lcfj0w";
10+ };
11+
12+ buildInputs = [ qt4 pkgconfig hunspell ];
13+
14+ configurePhase = "qmake PREFIX=/";
15+
16+ installPhase = "make install INSTALL_ROOT=$out";
17+
18+ meta = {
19+ description = "Simple, distraction-free writing environment";
20+ license = stdenv.lib.licenses.gpl2;
21+ maintainers = [ stdenv.lib.maintainers.madjar ];
22+ platforms = stdenv.lib.platforms.all;
23+ homepage = "http://gottcode.org/focuswriter/";
24+ };
25+}
pkgs/top-level/all-packages.nix+2
@@ -9319,6 +9319,8 @@ let
93199319
93209320 fluidsynth = callPackage ../applications/audio/fluidsynth { };
93219321
9322+ focuswriter = callPackage ../applications/editors/focuswriter { };
9323+
93229324 fossil = callPackage ../applications/version-management/fossil { };
93239325
93249326 freewheeling = callPackage ../applications/audio/freewheeling { };