Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 27 lines 600 B view raw
1{stdenv, fetchFromGitHub, cmake}: 2 3with stdenv.lib; 4 5stdenv.mkDerivation rec { 6 name = "unittest-cpp-${version}"; 7 version = "2.0.0"; 8 9 src = fetchFromGitHub { 10 owner = "unittest-cpp"; 11 repo = "unittest-cpp"; 12 rev = "v${version}"; 13 sha256 = "0sxb3835nly1jxn071f59fwbdzmqi74j040r81fanxyw3s1azw0i"; 14 }; 15 16 buildInputs = [cmake]; 17 18 doCheck = false; 19 20 meta = { 21 homepage = https://github.com/unittest-cpp/unittest-cpp; 22 description = "Lightweight unit testing framework for C++"; 23 license = licenses.mit; 24 maintainers = []; 25 platforms = stdenv.lib.platforms.unix; 26 }; 27}