2020-07-19 04:47:22 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
2021-04-10 02:13:18 +02:00
|
|
|
(pkgs.callPackage "${pkgs.path}/pkgs/development/libraries/rapidcheck" {
|
2020-07-19 04:47:22 +02:00
|
|
|
stdenv = pkgs.llvmPackages.libcxxStdenv;
|
|
|
|
}).overrideAttrs (attrs: rec {
|
|
|
|
# follows the versioning scheme of nixpkgs, since rapidcheck does not
|
|
|
|
# provide versioned releases
|
|
|
|
version = "unstable-2020-05-04";
|
|
|
|
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
|
|
owner = "emil-e";
|
|
|
|
repo = "rapidcheck";
|
|
|
|
rev = "7bc7d302191a4f3d0bf005692677126136e02f60";
|
|
|
|
sha256 = "0khawy2n007yk97ls2qqpna4ly09v6rb6hw72nm16kzk3zbyzh17";
|
|
|
|
};
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DRC_ENABLE_GTEST=ON"
|
|
|
|
"-DRC_ENABLE_GMOCK=ON"
|
|
|
|
];
|
|
|
|
})
|