tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
wt: init at 3.3.6
Julien Dehos
9 years ago
1d646400
f242b752
+52
3 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
wt
cmake.patch
default.nix
top-level
all-packages.nix
+10
pkgs/development/libraries/wt/cmake.patch
···
1
1
+
--- a/CMakeLists.txt 2016-07-13 14:27:26.000000000 +0200
2
2
+
+++ b/CMakeLists.txt 2016-08-16 12:58:28.135652964 +0200
3
3
+
@@ -6,6 +6,7 @@
4
4
+
CMAKE_POLICY(SET CMP0002 OLD)
5
5
+
CMAKE_POLICY(SET CMP0003 OLD)
6
6
+
CMAKE_POLICY(SET CMP0005 OLD)
7
7
+
+ CMAKE_POLICY(SET CMP0037 OLD)
8
8
+
ENDIF(COMMAND CMAKE_POLICY)
9
9
+
10
10
+
PROJECT(WT)
+40
pkgs/development/libraries/wt/default.nix
···
1
1
+
{stdenv, fetchFromGitHub, cmake, boost, pkgconfig, doxygen, qt48Full, libharu,
2
2
+
pango, fcgi, firebird, libmysql, postgresql, graphicsmagick, glew, openssl,
3
3
+
pcre }:
4
4
+
5
5
+
stdenv.mkDerivation rec {
6
6
+
name = "wt";
7
7
+
version = "3.3.6";
8
8
+
9
9
+
src = fetchFromGitHub {
10
10
+
owner = "kdeforche";
11
11
+
repo = name;
12
12
+
rev = version;
13
13
+
sha256 = "1pvykc969l9cpd0da8bgpi4gr8f6qczrbpprrxamyj1pn0ydzvq3";
14
14
+
};
15
15
+
16
16
+
enableParallelBuilding = true;
17
17
+
18
18
+
buildInputs = [ cmake boost pkgconfig doxygen qt48Full libharu
19
19
+
pango fcgi firebird libmysql postgresql graphicsmagick glew
20
20
+
openssl pcre ];
21
21
+
22
22
+
cmakeFlags = [
23
23
+
"-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
24
24
+
"-DWT_CPP_11_MODE=-std=c++11"
25
25
+
"-DGM_PREFIX=${graphicsmagick}"
26
26
+
"-DMYSQL_PREFIX=${libmysql}"
27
27
+
"--no-warn-unused-cli"
28
28
+
];
29
29
+
30
30
+
patches = [ ./cmake.patch ]; # fix a cmake warning; PR sent to upstream
31
31
+
32
32
+
meta = with stdenv.lib; {
33
33
+
homepage = "https://www.webtoolkit.eu/wt";
34
34
+
description = "C++ library for developing web applications";
35
35
+
platforms = platforms.linux ;
36
36
+
license = licenses.gpl2;
37
37
+
maintainers = [ maintainers.juliendehos ];
38
38
+
};
39
39
+
}
40
40
+
+2
pkgs/top-level/all-packages.nix
···
9676
9676
9677
9677
wiredtiger = callPackage ../development/libraries/wiredtiger { };
9678
9678
9679
9679
+
wt = callPackage ../development/libraries/wt { };
9680
9680
+
9679
9681
wvstreams = callPackage ../development/libraries/wvstreams { };
9680
9682
9681
9683
wxGTK = wxGTK28;