Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 stdenv,
4 meson,
5 ninja,
6 pkg-config,
7 fetchFromGitHub,
8 glib,
9 vala,
10 ctpl,
11 libgee,
12 libsoup_2_4,
13 fcgi,
14}:
15
16stdenv.mkDerivation rec {
17 pname = "valum";
18 version = "0.3.18";
19
20 src = fetchFromGitHub {
21 owner = "valum-framework";
22 repo = "valum";
23 rev = "v${version}";
24 sha256 = "sha256-baAv83YiX8HdBm/t++ktB7pmTVlt4aWZ5xnsAs/NrTI=";
25 };
26
27 nativeBuildInputs = [
28 meson
29 ninja
30 pkg-config
31 ];
32 buildInputs = [
33 glib
34 vala
35 ctpl
36 libgee
37 libsoup_2_4
38 fcgi
39 ];
40
41 meta = with lib; {
42 homepage = "https://github.com/valum-framework/valum";
43 description = "Web micro-framework written in Vala";
44 license = licenses.lgpl3;
45 platforms = platforms.linux;
46 maintainers = [ ];
47 # Likely broken by GLib 2.74 switch to PCRE 2.
48 # https://github.com/valum-framework/valum/issues/238
49 broken = true;
50 };
51}