Skip to content

Commit

Permalink
rapidcheck: Add meta.pkgConfigModules and test
Browse files Browse the repository at this point in the history
The last update added pkg-config support.

Co-authored-by: Robert Hensing <[email protected]>
(cherry picked from commit a7447f9)
(cherry picked from commit 96d3c84)
  • Loading branch information
Ericson2314 committed Jan 11, 2024
1 parent 6bca544 commit 0af5360
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions pkgs/development/libraries/rapidcheck/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
, fetchFromGitHub
, cmake
, unstableGitUpdater
, testers
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "rapidcheck";
version = "unstable-2023-12-14";

Expand All @@ -25,13 +26,25 @@ stdenv.mkDerivation rec {
"-DRC_INSTALL_ALL_EXTRAS=TRUE"
];

passthru.updateScript = unstableGitUpdater { };
passthru = {
updateScript = unstableGitUpdater { };
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};

meta = with lib; {
description = "A C++ framework for property based testing inspired by QuickCheck";
inherit (src.meta) homepage;
inherit (finalAttrs.src.meta) homepage;
maintainers = with maintainers; [ ];
license = licenses.bsd2;
pkgConfigModules = [
"rapidcheck"
# Extras
"rapidcheck_boost"
"rapidcheck_boost_test"
"rapidcheck_catch"
"rapidcheck_doctest"
"rapidcheck_gtest"
];
platforms = platforms.all;
};
}
})

0 comments on commit 0af5360

Please sign in to comment.