3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/rapidcheck/default.nix
William Casarin de2f79467d rapidcheck: init at unstable-2018-09-27
rapidcheck is a C++ property-based testing framework inspired by QuickCheck

Signed-off-by: William Casarin <jb55@jb55.com>
2018-10-08 11:00:17 -07:00

28 lines
742 B
Nix

{ stdenv, cmake, fetchFromGitHub }:
stdenv.mkDerivation rec{
name = "rapidcheck-${version}";
version = "unstable-2018-09-27";
src = fetchFromGitHub {
owner = "emil-e";
repo = "rapidcheck";
rev = "de54478fa35c0d9cea14ec0c5c9dfae906da524c";
sha256 = "0n8l0mlq9xqmpkgcj5xicicd1my2cfwxg25zdy8347dqkl1ppgbs";
};
nativeBuildInputs = [ cmake ];
postInstall = ''
cp ../extras/boost_test/include/rapidcheck/boost_test.h $out/include/rapidcheck
'';
meta = with stdenv.lib; {
description = "A C++ framework for property based testing inspired by QuickCheck";
inherit (src.meta) homepage;
maintainers = with maintainers; [ jb55 ];
license = licenses.bsd2;
platforms = platforms.all;
};
}