at 23.05-pre 31 lines 799 B view raw
1{ lib, stdenv, cmake, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 pname = "rapidcheck"; 5 version = "unstable-2020-12-19"; 6 7 src = fetchFromGitHub { 8 owner = "emil-e"; 9 repo = "rapidcheck"; 10 rev = "b78f89288c7e086d06e2a1e10b605d8375517a8a"; 11 sha256 = "0fj11gbhkaxbsgix2im7vdfvr26l75b8djk462sfw8xrwrfkjbdz"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 # Install the extras headers 17 postInstall = '' 18 cp -r $src/extras $out 19 chmod -R +w $out/extras 20 rm $out/extras/CMakeLists.txt 21 rm $out/extras/**/CMakeLists.txt 22 ''; 23 24 meta = with lib; { 25 description = "A C++ framework for property based testing inspired by QuickCheck"; 26 inherit (src.meta) homepage; 27 maintainers = with maintainers; [ ]; 28 license = licenses.bsd2; 29 platforms = platforms.all; 30 }; 31}