wt: put version into name, cleanup whitespace

The style is now closer to what's usual in nixpkgs.
This commit is contained in:
Vladimír Čunát 2017-10-20 18:16:40 +02:00
parent 90435ba060
commit c3263fcaa1
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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 ];
};