icmake: icmbuild uses tput

This commit is contained in:
Pascal Wittmann 2018-03-06 20:20:37 +01:00
parent 9cfeabb327
commit 458cce8d16
No known key found for this signature in database
GPG key ID: C899ACE7E2322852

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gcc }:
{ stdenv, fetchFromGitHub, makeWrapper, gcc, ncurses }:
stdenv.mkDerivation rec {
name = "icmake-${version}";
@ -16,6 +16,7 @@ stdenv.mkDerivation rec {
sourceRoot=$(echo */icmake)
'';
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ gcc ];
preConfigure = ''
@ -30,6 +31,9 @@ stdenv.mkDerivation rec {
installPhase = ''
./icm_install all /
wrapProgram $out/bin/icmbuild \
--prefix PATH : ${ncurses}/bin
'';
meta = with stdenv.lib; {