2012-01-06 16:45:14 +00:00
|
|
|
{ fetchurl, stdenv, slang, popt }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-13 21:03:31 +00:00
|
|
|
name = "newt-0.52.15";
|
2012-01-06 16:45:14 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://fedorahosted.org/releases/n/e/newt/${name}.tar.gz";
|
2013-12-13 21:03:31 +00:00
|
|
|
sha256 = "0hg2l0siriq6qrz6mmzr6l7rpl40ay56c8cak87rb2ks7s952qbs";
|
2012-01-06 16:45:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e s,/usr/bin/install,install, -e s,-I/usr/include/slang,, Makefile.in po/Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ slang popt ];
|
|
|
|
|
|
|
|
crossAttrs = {
|
|
|
|
makeFlags = "CROSS_COMPILE=${stdenv.cross.config}-";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://fedorahosted.org/newt/;
|
|
|
|
description = "Library for color text mode, widget based user interfaces";
|
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl2;
|
2012-01-06 16:45:14 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.viric ];
|
|
|
|
};
|
|
|
|
}
|