blob: 6e7cb8d020bdfa3dd5e0de9210e49b3ab26ed5d2 (
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
34
35
|
{ stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkgconfig, python2 }:
stdenv.mkDerivation rec {
name = "ntk-${version}";
version = "1.3.1000";
src = fetchFromGitHub {
owner = "original-male";
repo = "ntk";
rev = "v${version}";
sha256 = "0j38mhnfqy6swcrnc5zxcwlqi8b1pgklyghxk6qs1lf4japv2zc0";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
cairo libjpeg libXft 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 = with stdenv.lib.maintainers; [ magnetophon nico202 ];
platforms = stdenv.lib.platforms.linux;
};
}
|