Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 version = "2.2.1"; 5 pname = "cxxtools"; 6 7 src = fetchurl { 8 url = "http://www.tntnet.org/download/${pname}-${version}.tar.gz"; 9 sha256 = "0hp3qkyhidxkdf8qgkwrnqq5bpahink55mf0yz23rjd7rpbbdswc"; 10 }; 11 12 configureFlags = lib.optional stdenv.isAarch64 "--with-atomictype=pthread"; 13 14 enableParallelBuilding = true; 15 16 meta = { 17 homepage = "http://www.tntnet.org/cxxtools.html"; 18 description = "Comprehensive C++ class library for Unix and Linux"; 19 platforms = lib.platforms.linux ; 20 license = lib.licenses.lgpl21; 21 maintainers = [ lib.maintainers.juliendehos ]; 22 }; 23}