nixpkgs/pkgs/development/libraries/libcutl/default.nix

30 lines
1.0 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, xercesc }:
2016-02-01 16:47:09 +00:00
2019-10-20 23:24:59 +01:00
stdenv.mkDerivation rec {
pname = "libcutl";
version = "1.10.0";
meta = with lib; {
2019-10-20 23:24:59 +01:00
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
2019-10-20 23:24:59 +01: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}";
2016-02-01 16:47:09 +00:00
platforms = platforms.all;
maintainers = with maintainers; [ ];
license = licenses.mit;
};
majmin = builtins.head ( builtins.match "([[:digit:]]\.[[:digit:]]+)\.*" "${version}" );
2016-02-01 16:47:09 +00:00
src = fetchurl {
2019-10-20 23:24:59 +01:00
url = "https://codesynthesis.com/download/${pname}/${majmin}/${pname}-${version}.tar.bz2";
sha256 = "070j2x02m4gm1fn7gnymrkbdxflgzxwl7m96aryv8wp3f3366l8j";
2016-02-01 16:47:09 +00:00
};
buildInputs = [ xercesc ];
2019-10-20 23:24:59 +01:00
enableParallelBuilding = true;
2016-02-01 16:47:09 +00:00
}