Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkg-config, python3, wafHook }:
2
3stdenv.mkDerivation rec {
4 pname = "ntk";
5 version = "1.3.1001";
6 src = fetchFromGitHub {
7 owner = "linuxaudio";
8 repo = "ntk";
9 rev = "v${version}";
10 sha256 = "sha256-NyEdg6e+9CI9V+TIgdpPyH1ei+Vq8pUxD3wPzWY5fEU=";
11 };
12
13 nativeBuildInputs = [ pkg-config wafHook ];
14 buildInputs = [
15 cairo libjpeg libXft python3
16 ];
17
18 meta = {
19 description = "Fork of FLTK 1.3.0 with additional functionality";
20 version = version;
21 homepage = "http://non.tuxfamily.org/";
22 license = lib.licenses.lgpl21;
23 maintainers = with lib.maintainers; [ magnetophon nico202 ];
24 platforms = lib.platforms.linux;
25 };
26}