2015-05-06 12:14:14 +01:00
|
|
|
{ stdenv, fetchgit, cairo, libjpeg, libXft, pkgconfig, python2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ntk-${version}";
|
|
|
|
version = "2014-10-18";
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.tuxfamily.org/gitroot/non/fltk.git";
|
|
|
|
rev = "5719b0044d9f267de5391fab006370cc7f4e70bd";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "1wpqy5kk6sk31qyx1c6gdslcqcbczgji6lk8w1l8kri0s908ywyj";
|
2015-05-06 12:14:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cairo libjpeg libXft pkgconfig python2
|
|
|
|
];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
python waf configure --prefix=$out
|
|
|
|
python waf
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python waf install
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2015-06-29 15:20:58 +01:00
|
|
|
description = "Fork of FLTK 1.3.0 with additional functionality";
|
2015-05-06 12:14:14 +01:00
|
|
|
version = "${version}";
|
2015-06-29 15:20:58 +01:00
|
|
|
homepage = http://non.tuxfamily.org/;
|
2015-05-06 12:14:14 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|