nixpkgs/pkgs/development/libraries/rapidcheck/default.nix
Sergei Trofimovich 74aed074ec rapidcheck: unstable-2020-12-19 -> unstable-2023-04-16
Fixed gcc build failure among other things:

    184312e069

While at it added trivial updater.
2023-05-05 10:40:40 +01:00

39 lines
871 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, unstableGitUpdater
}:
stdenv.mkDerivation rec {
pname = "rapidcheck";
version = "unstable-2023-04-16";
src = fetchFromGitHub {
owner = "emil-e";
repo = "rapidcheck";
rev = "a5724ea5b0b00147109b0605c377f1e54c353ba2";
hash = "sha256-nq2VBDREkAOnvtdYr3m0TYNXx7mv9hbV5HZFVL2uTTg=";
};
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
'';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "A C++ framework for property based testing inspired by QuickCheck";
inherit (src.meta) homepage;
maintainers = with maintainers; [ ];
license = licenses.bsd2;
platforms = platforms.all;
};
}