1 { lib, stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkg-config, python3, wafHook }:
3 stdenv.mkDerivation rec {
6 src = fetchFromGitHub {
10 sha256 = "sha256-NyEdg6e+9CI9V+TIgdpPyH1ei+Vq8pUxD3wPzWY5fEU=";
13 nativeBuildInputs = [ pkg-config wafHook ];
15 cairo libjpeg libXft python3
18 # NOTE: ntk provides its own waf script that is incompatible with new
19 # python versions. If the script is not present, wafHook will install
20 # a compatible version from nixpkgs.
26 description = "Fork of FLTK 1.3.0 with additional functionality";
28 homepage = "http://non.tuxfamily.org/";
29 license = lib.licenses.lgpl21;
30 maintainers = with lib.maintainers; [ magnetophon nico202 ];
31 platforms = lib.platforms.linux;