2023-03-27 19:17:25 +00:00
|
|
|
{ lib, gccStdenv, fetchurl, xercesc }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-03-27 19:17:25 +00:00
|
|
|
let
|
|
|
|
stdenv = gccStdenv;
|
|
|
|
in
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libcutl";
|
|
|
|
version = "1.10.0";
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "C++ utility library from Code Synthesis";
|
|
|
|
longDescription = ''
|
|
|
|
libcutl is a C++ utility library.
|
2021-02-05 17:12:51 +00:00
|
|
|
It contains a collection of generic and independent components such as
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
majmin = builtins.head ( builtins.match "([[:digit:]]\\.[[:digit:]]+).*" "${version}" );
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://codesynthesis.com/download/${pname}/${majmin}/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "070j2x02m4gm1fn7gnymrkbdxflgzxwl7m96aryv8wp3f3366l8j";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ xercesc ];
|
|
|
|
enableParallelBuilding = true;
|
2022-05-18 14:49:53 +00:00
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = toString [ "-std=c++14" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|