lol
1{ lib, stdenv, fetchurl, xercesc }:
2
3stdenv.mkDerivation rec {
4 pname = "libcutl";
5 version = "1.10.0";
6
7 meta = with lib; {
8 description = "C++ utility library from Code Synthesis";
9 longDescription = ''
10 libcutl is a C++ utility library.
11 It contains a collection of generic and independent components such as
12 meta-programming tests, smart pointers, containers, compiler building blocks, etc.
13 '';
14 homepage = "https://codesynthesis.com/projects/libcutl/";
15 changelog = "https://git.codesynthesis.com/cgit/libcutl/libcutl/plain/NEWS?h=${version}";
16 platforms = platforms.all;
17 maintainers = with maintainers; [ ];
18 license = licenses.mit;
19 };
20
21 majmin = builtins.head ( builtins.match "([[:digit:]]\\.[[:digit:]]+).*" "${version}" );
22 src = fetchurl {
23 url = "https://codesynthesis.com/download/${pname}/${majmin}/${pname}-${version}.tar.bz2";
24 sha256 = "070j2x02m4gm1fn7gnymrkbdxflgzxwl7m96aryv8wp3f3366l8j";
25 };
26
27 buildInputs = [ xercesc ];
28 enableParallelBuilding = true;
29}