Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "cpputest"; 9 version = "4.0"; 10 11 src = fetchurl { 12 url = "https://github.com/cpputest/cpputest/releases/download/v${version}/${pname}-${version}.tar.gz"; 13 sha256 = "1xslavlb1974y5xvs8n1j9zkk05dlw8imy4saasrjlmibl895ii1"; 14 }; 15 16 meta = with lib; { 17 homepage = "https://cpputest.github.io/"; 18 description = "Unit testing and mocking framework for C/C++"; 19 platforms = platforms.all; 20 license = licenses.bsd3; 21 maintainers = [ maintainers.juliendehos ]; 22 }; 23}