Skip to content

Commit

Permalink
rapidcheck: init at unstable-2018-09-27
Browse files Browse the repository at this point in the history
rapidcheck is a C++ property-based testing framework inspired by QuickCheck

Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
jb55 committed Oct 8, 2018
1 parent 2be4295 commit de2f794
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/development/libraries/rapidcheck/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ 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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11958,6 +11958,8 @@ with pkgs;

rabbitmq-java-client = callPackage ../development/libraries/rabbitmq-java-client {};

rapidcheck = callPackage ../development/libraries/rapidcheck {};

rapidjson = callPackage ../development/libraries/rapidjson {};

raul = callPackage ../development/libraries/audio/raul { };
Expand Down

0 comments on commit de2f794

Please sign in to comment.