2021-05-27 05:26:41 +02:00
|
|
|
{ stdenv, lib, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "cgreen";
|
2021-11-03 01:18:16 +01:00
|
|
|
version = "1.4.1";
|
2021-05-27 05:26:41 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cgreen-devs";
|
|
|
|
repo = "cgreen";
|
|
|
|
rev = version;
|
2021-11-03 01:18:16 +01:00
|
|
|
sha256 = "sha256-aQrfsiPuNrEMscZrOoONiN665KlNmnOiYj9ZIyzW304=";
|
2021-05-27 05:26:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/cgreen-devs/cgreen";
|
|
|
|
description = "The Modern Unit Test and Mocking Framework for C and C++";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.nichtsfrei ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|