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