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