mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
24 lines
572 B
Nix
24 lines
572 B
Nix
|
{ stdenv, lib, fetchFromGitHub, cmake }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "cgreen";
|
||
|
version = "1.4.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "cgreen-devs";
|
||
|
repo = "cgreen";
|
||
|
rev = version;
|
||
|
sha256 = "JEpvkM0EZiiQUZRngICNxHbNqS/qjqkEdMPckGbdWac=";
|
||
|
};
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
}
|