summary refs log tree commit diff
path: root/pkgs/development/libraries/unittest-cpp/default.nix
blob: 7dd8e071567ab3f9384ec1d83743ad8392965327 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{stdenv, fetchFromGitHub, cmake}:

with stdenv.lib;

stdenv.mkDerivation rec {
  pname = "unittest-cpp";
  version = "2.0.0";

  src = fetchFromGitHub {
    owner = "unittest-cpp";
    repo = "unittest-cpp";
    rev = "v${version}";
    sha256 = "0sxb3835nly1jxn071f59fwbdzmqi74j040r81fanxyw3s1azw0i";
  };

  buildInputs = [cmake];

  doCheck = false;

  meta = {
    homepage = "https://github.com/unittest-cpp/unittest-cpp";
    description = "Lightweight unit testing framework for C++";
    license = licenses.mit;
    maintainers = [];
    platforms = stdenv.lib.platforms.unix;
  };
}