1 { stdenv, fetchurl, expat, openssl, autoconf, ncurses }:
2 stdenv.mkDerivation rec {
3 name = "boinctui-${version}";
6 url = "http://sourceforge.net/projects/boinctui/files/boinctui_${version}.tar.gz";
7 sha256 = "16zxp8r4z6pllacdacg681y56cg2phnn3pm5gwszbsi93cix2g8p";
10 configureFlags = [ "--without-gnutls" ];
16 sed -i -e 's/"HOME"/"XDG_CONFIG_HOME"/' src/cfg.cpp
17 sed -i -e 's@\.boinctui\.cfg@boinctui/boinctui.cfg@' src/mainprog.cpp
19 buildInputs = [ expat openssl autoconf ncurses ];