blob: 35144862ce9b9db359cc161470ae70ee5cc0a642 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ stdenv, fetchgit, cairo, libjpeg, libXft, pkgconfig, python2 }:
stdenv.mkDerivation rec {
name = "ntk-${version}";
version = "2017-04-22";
src = fetchgit {
url = "git://git.tuxfamily.org/gitroot/non/fltk.git";
rev = "92365eca0f9a6f054abc70489c009aba0fcde0ff";
sha256 = "0pph7hf07xaa011zr40cs62f3f7hclfbv5kcrl757gcp2s5pi2iq";
};
buildInputs = [
cairo libjpeg libXft pkgconfig python2
];
buildPhase = ''
python waf configure --prefix=$out
python waf
'';
installPhase = ''
python waf install
'';
meta = {
description = "Fork of FLTK 1.3.0 with additional functionality";
version = "${version}";
homepage = http://non.tuxfamily.org/;
license = stdenv.lib.licenses.lgpl21;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
platforms = stdenv.lib.platforms.linux;
};
}
|