libcutl: 1.9.0 -> 1.10.0
This commit is contained in:
parent
463eb7daff
commit
67aa40139b
@ -1,23 +1,29 @@
|
|||||||
{ stdenv, fetchurl, xercesc }:
|
{ stdenv, fetchurl, xercesc }:
|
||||||
let
|
|
||||||
major = "1.9";
|
|
||||||
minor = "0";
|
|
||||||
in
|
|
||||||
with stdenv; with lib;
|
|
||||||
mkDerivation rec {
|
|
||||||
name = "libcutl-${major}.${minor}";
|
|
||||||
|
|
||||||
meta = {
|
stdenv.mkDerivation rec {
|
||||||
description = "A collection of generic and independent components such as meta-programming tests, smart pointers, containers, compiler building blocks" ;
|
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;
|
platforms = platforms.all;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
majmin = builtins.head ( builtins.match "([[:digit:]]\.[[:digit:]]*+)\.*" "${version}" );
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://codesynthesis.com/download/libcutl/1.9/${name}.tar.bz2";
|
url = "https://codesynthesis.com/download/${pname}/${majmin}/${pname}-${version}.tar.bz2";
|
||||||
sha1 = "0e8d255145afbc339a3284ef85a43f4baf3fec43";
|
sha256 = "070j2x02m4gm1fn7gnymrkbdxflgzxwl7m96aryv8wp3f3366l8j";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ xercesc ];
|
buildInputs = [ xercesc ];
|
||||||
|
enableParallelBuilding = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user