blob: 4df98c3026e59d7de7e287505bfa9b619918dcca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ lib, stdenv, cmake, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "rapidcheck";
version = "unstable-2020-12-19";
src = fetchFromGitHub {
owner = "emil-e";
repo = "rapidcheck";
rev = "b78f89288c7e086d06e2a1e10b605d8375517a8a";
sha256 = "0fj11gbhkaxbsgix2im7vdfvr26l75b8djk462sfw8xrwrfkjbdz";
};
nativeBuildInputs = [ cmake ];
# Install the extras headers
postInstall = ''
cp -r $src/extras $out
chmod -R +w $out/extras
rm $out/extras/CMakeLists.txt
rm $out/extras/**/CMakeLists.txt
'';
meta = with 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;
};
}
|