wt: put version into name, cleanup whitespace
The style is now closer to what's usual in nixpkgs.
This commit is contained in:
parent
90435ba060
commit
c3263fcaa1
@ -1,14 +1,15 @@
|
|||||||
{stdenv, fetchFromGitHub, cmake, boost, pkgconfig, doxygen, qt48Full, libharu,
|
{ stdenv, fetchFromGitHub, cmake, boost, pkgconfig, doxygen, qt48Full, libharu
|
||||||
pango, fcgi, firebird, libmysql, postgresql, graphicsmagick, glew, openssl,
|
, pango, fcgi, firebird, libmysql, postgresql, graphicsmagick, glew, openssl
|
||||||
pcre }:
|
, pcre
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "wt";
|
name = "wt-${version}";
|
||||||
version = "4.0.0";
|
version = "4.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kdeforche";
|
owner = "kdeforche";
|
||||||
repo = name;
|
repo = "wt";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1451xxvnx6mlvxg0jxlr1mfv5v18h2214kijk5kacilqashfc43i";
|
sha256 = "1451xxvnx6mlvxg0jxlr1mfv5v18h2214kijk5kacilqashfc43i";
|
||||||
};
|
};
|
||||||
@ -16,9 +17,11 @@ stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ cmake boost doxygen qt48Full libharu
|
buildInputs = [
|
||||||
|
cmake boost doxygen qt48Full libharu
|
||||||
pango fcgi firebird libmysql postgresql graphicsmagick glew
|
pango fcgi firebird libmysql postgresql graphicsmagick glew
|
||||||
openssl pcre ];
|
openssl pcre
|
||||||
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
|
"-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
|
||||||
@ -31,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://www.webtoolkit.eu/wt;
|
homepage = https://www.webtoolkit.eu/wt;
|
||||||
description = "C++ library for developing web applications";
|
description = "C++ library for developing web applications";
|
||||||
platforms = platforms.linux ;
|
platforms = platforms.linux;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = [ maintainers.juliendehos ];
|
maintainers = [ maintainers.juliendehos ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user