2015-05-06 11:14:14 +00:00
|
|
|
{ stdenv, fetchgit, cairo, libjpeg, libXft, pkgconfig, python2 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ntk-${version}";
|
2017-06-15 10:44:41 +00:00
|
|
|
version = "2017-04-22";
|
2015-05-06 11:14:14 +00:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.tuxfamily.org/gitroot/non/fltk.git";
|
2017-06-15 10:44:41 +00:00
|
|
|
rev = "92365eca0f9a6f054abc70489c009aba0fcde0ff";
|
|
|
|
sha256 = "0pph7hf07xaa011zr40cs62f3f7hclfbv5kcrl757gcp2s5pi2iq";
|
2015-05-06 11:14:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cairo libjpeg libXft pkgconfig python2
|
|
|
|
];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
python waf configure --prefix=$out
|
|
|
|
python waf
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python waf install
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2015-06-29 14:20:58 +00:00
|
|
|
description = "Fork of FLTK 1.3.0 with additional functionality";
|
2015-05-06 11:14:14 +00:00
|
|
|
version = "${version}";
|
2015-06-29 14:20:58 +00:00
|
|
|
homepage = http://non.tuxfamily.org/;
|
2015-05-06 11:14:14 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|