diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2017-10-20 18:16:40 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2017-10-20 18:17:33 +0200 |
commit | c3263fcaa1a18d44a4191b08deeeb59a55071c1e (patch) | |
tree | 0acb126b18192ef56a853a3920899215352f7d12 /pkgs | |
parent | 90435ba0602867007f6085098c81bf34a5006f13 (diff) |
wt: put version into name, cleanup whitespace
The style is now closer to what's usual in nixpkgs.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/wt/default.nix | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/pkgs/development/libraries/wt/default.nix b/pkgs/development/libraries/wt/default.nix index 8dc6db03bc311..3adf4f1497f88 100644 --- a/pkgs/development/libraries/wt/default.nix +++ b/pkgs/development/libraries/wt/default.nix @@ -1,14 +1,15 @@ -{stdenv, fetchFromGitHub, cmake, boost, pkgconfig, doxygen, qt48Full, libharu, - pango, fcgi, firebird, libmysql, postgresql, graphicsmagick, glew, openssl, - pcre }: +{ stdenv, fetchFromGitHub, cmake, boost, pkgconfig, doxygen, qt48Full, libharu +, pango, fcgi, firebird, libmysql, postgresql, graphicsmagick, glew, openssl +, pcre +}: stdenv.mkDerivation rec { - name = "wt"; + name = "wt-${version}"; version = "4.0.0"; src = fetchFromGitHub { owner = "kdeforche"; - repo = name; + repo = "wt"; rev = version; sha256 = "1451xxvnx6mlvxg0jxlr1mfv5v18h2214kijk5kacilqashfc43i"; }; @@ -16,9 +17,11 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ cmake boost doxygen qt48Full libharu - pango fcgi firebird libmysql postgresql graphicsmagick glew - openssl pcre ]; + buildInputs = [ + cmake boost doxygen qt48Full libharu + pango fcgi firebird libmysql postgresql graphicsmagick glew + openssl pcre + ]; cmakeFlags = [ "-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick" @@ -31,7 +34,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { homepage = https://www.webtoolkit.eu/wt; description = "C++ library for developing web applications"; - platforms = platforms.linux ; + platforms = platforms.linux; license = licenses.gpl2; maintainers = [ maintainers.juliendehos ]; }; |