summary refs log tree commit diff
diff options
context:
space:
mode:
authorRenaud <c0bw3b@users.noreply.github.com>2019-10-21 00:24:59 +0200
committerGitHub <noreply@github.com>2019-10-21 00:24:59 +0200
commit67aa40139ba02c088f4c2b1ce15dd52306458fd5 (patch)
tree3824dc9021bb3166a3439207e4314e5c7dba91f0
parent463eb7daffcb09d659643609edeee7f88f3887d8 (diff)
downloadnixpkgs-67aa40139ba02c088f4c2b1ce15dd52306458fd5.tar
nixpkgs-67aa40139ba02c088f4c2b1ce15dd52306458fd5.tar.gz
nixpkgs-67aa40139ba02c088f4c2b1ce15dd52306458fd5.tar.bz2
nixpkgs-67aa40139ba02c088f4c2b1ce15dd52306458fd5.tar.lz
nixpkgs-67aa40139ba02c088f4c2b1ce15dd52306458fd5.tar.xz
nixpkgs-67aa40139ba02c088f4c2b1ce15dd52306458fd5.tar.zst
nixpkgs-67aa40139ba02c088f4c2b1ce15dd52306458fd5.zip
libcutl: 1.9.0 -> 1.10.0
-rw-r--r--pkgs/development/libraries/libcutl/default.nix28
1 files changed, 17 insertions, 11 deletions
diff --git a/pkgs/development/libraries/libcutl/default.nix b/pkgs/development/libraries/libcutl/default.nix
index 81122a6eb52..9abd3b7ccc1 100644
--- a/pkgs/development/libraries/libcutl/default.nix
+++ b/pkgs/development/libraries/libcutl/default.nix
@@ -1,23 +1,29 @@
 { stdenv, fetchurl, xercesc }:
-let
-    major = "1.9";
-    minor = "0";
-in
-with stdenv; with lib;
-mkDerivation rec {
-  name = "libcutl-${major}.${minor}";
 
-  meta = {
-    description = "A collection of generic and independent components such as meta-programming tests, smart pointers, containers, compiler building blocks" ;
+stdenv.mkDerivation rec {
+  pname = "libcutl";
+  version = "1.10.0";
+
+  meta = with stdenv.lib; {
+    description = "C++ utility library from Code Synthesis";
+    longDescription = ''
+        libcutl is a C++ utility library.
+        It contains a collection of generic and independent components such as 
+        meta-programming tests, smart pointers, containers, compiler building blocks, etc.
+    '';
+    homepage = "https://codesynthesis.com/projects/libcutl/";
+    changelog = "https://git.codesynthesis.com/cgit/libcutl/libcutl/plain/NEWS?h=${version}";
     platforms = platforms.all;
     maintainers = with maintainers; [ ];
     license = licenses.mit;
   };
 
+  majmin = builtins.head ( builtins.match "([[:digit:]]\.[[:digit:]]*+)\.*" "${version}" );
   src = fetchurl {
-    url = "https://codesynthesis.com/download/libcutl/1.9/${name}.tar.bz2";
-    sha1 = "0e8d255145afbc339a3284ef85a43f4baf3fec43";
+    url = "https://codesynthesis.com/download/${pname}/${majmin}/${pname}-${version}.tar.bz2";
+    sha256 = "070j2x02m4gm1fn7gnymrkbdxflgzxwl7m96aryv8wp3f3366l8j";
   };
 
   buildInputs = [ xercesc ];
+  enableParallelBuilding = true;
 }