diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libcutl')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libcutl/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libcutl/default.nix b/nixpkgs/pkgs/development/libraries/libcutl/default.nix new file mode 100644 index 000000000000..b13805aa37aa --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libcutl/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchurl, xercesc }: + +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/${pname}/${majmin}/${pname}-${version}.tar.bz2"; + sha256 = "070j2x02m4gm1fn7gnymrkbdxflgzxwl7m96aryv8wp3f3366l8j"; + }; + + buildInputs = [ xercesc ]; + enableParallelBuilding = true; +} |