nixpkgs/pkgs/development/libraries/cgreen/default.nix
2021-11-03 00:18:16 +00:00

24 lines
579 B
Nix

{ stdenv, lib, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "cgreen";
version = "1.4.1";
src = fetchFromGitHub {
owner = "cgreen-devs";
repo = "cgreen";
rev = version;
sha256 = "sha256-aQrfsiPuNrEMscZrOoONiN665KlNmnOiYj9ZIyzW304=";
};
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;
};
}