mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
rapidcheck: Add meta.pkgConfigModules
and test
The last update added pkg-config support. Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> (cherry picked from commita7447f9e33
) (cherry picked from commit96d3c843d3
)
This commit is contained in:
parent
6bca544be7
commit
0af53606be
@ -3,9 +3,10 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
, unstableGitUpdater
|
, unstableGitUpdater
|
||||||
|
, testers
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "rapidcheck";
|
pname = "rapidcheck";
|
||||||
version = "unstable-2023-12-14";
|
version = "unstable-2023-12-14";
|
||||||
|
|
||||||
@ -25,13 +26,25 @@ stdenv.mkDerivation rec {
|
|||||||
"-DRC_INSTALL_ALL_EXTRAS=TRUE"
|
"-DRC_INSTALL_ALL_EXTRAS=TRUE"
|
||||||
];
|
];
|
||||||
|
|
||||||
passthru.updateScript = unstableGitUpdater { };
|
passthru = {
|
||||||
|
updateScript = unstableGitUpdater { };
|
||||||
|
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A C++ framework for property based testing inspired by QuickCheck";
|
description = "A C++ framework for property based testing inspired by QuickCheck";
|
||||||
inherit (src.meta) homepage;
|
inherit (finalAttrs.src.meta) homepage;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
|
pkgConfigModules = [
|
||||||
|
"rapidcheck"
|
||||||
|
# Extras
|
||||||
|
"rapidcheck_boost"
|
||||||
|
"rapidcheck_boost_test"
|
||||||
|
"rapidcheck_catch"
|
||||||
|
"rapidcheck_doctest"
|
||||||
|
"rapidcheck_gtest"
|
||||||
|
];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user