summary refs log tree commit diff
path: root/pkgs/development/libraries/wt/default.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-10-20 18:16:40 +0200
committerVladimír Čunát <vcunat@gmail.com>2017-10-20 18:17:33 +0200
commitc3263fcaa1a18d44a4191b08deeeb59a55071c1e (patch)
tree0acb126b18192ef56a853a3920899215352f7d12 /pkgs/development/libraries/wt/default.nix
parent90435ba0602867007f6085098c81bf34a5006f13 (diff)
downloadnixpkgs-c3263fcaa1a18d44a4191b08deeeb59a55071c1e.tar
nixpkgs-c3263fcaa1a18d44a4191b08deeeb59a55071c1e.tar.gz
nixpkgs-c3263fcaa1a18d44a4191b08deeeb59a55071c1e.tar.bz2
nixpkgs-c3263fcaa1a18d44a4191b08deeeb59a55071c1e.tar.lz
nixpkgs-c3263fcaa1a18d44a4191b08deeeb59a55071c1e.tar.xz
nixpkgs-c3263fcaa1a18d44a4191b08deeeb59a55071c1e.tar.zst
nixpkgs-c3263fcaa1a18d44a4191b08deeeb59a55071c1e.zip
wt: put version into name, cleanup whitespace
The style is now closer to what's usual in nixpkgs.
Diffstat (limited to 'pkgs/development/libraries/wt/default.nix')
-rw-r--r--pkgs/development/libraries/wt/default.nix21
1 files 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 ];
   };