From c3263fcaa1a18d44a4191b08deeeb59a55071c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 20 Oct 2017 18:16:40 +0200 Subject: [PATCH] wt: put version into name, cleanup whitespace The style is now closer to what's usual in nixpkgs. --- pkgs/development/libraries/wt/default.nix | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/pkgs/development/libraries/wt/default.nix b/pkgs/development/libraries/wt/default.nix index 8dc6db03bc3..3adf4f1497f 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 ]; };