7 stdenv.mkDerivation (finalAttrs: {
11 src = fetchFromGitHub {
12 owner = "cgreen-devs";
14 rev = finalAttrs.version;
15 sha256 = "sha256-qcOj+NlgbHCYuNsM6ngNI2fNhkCwLL6mIVkNSv9hRE8=";
19 for F in tools/discoverer_acceptance_tests.c tools/discoverer.c; do
20 substituteInPlace "$F" --replace "/usr/bin/nm" "nm"
24 nativeBuildInputs = [ cmake ];
27 homepage = "https://github.com/cgreen-devs/cgreen";
28 description = "Modern Unit Test and Mocking Framework for C and C++";
29 mainProgram = "cgreen-runner";
30 license = lib.licenses.isc;
31 maintainers = [ lib.maintainers.AndersonTorres ];
32 platforms = lib.platforms.unix;