summary refs log tree commit diff
path: root/pkgs/development/libraries/unittest-cpp/default.nix
blob: bc9035d479b58e0e33dac1b5faecfe7d00cb7699 (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 {
  name = "unittest-cpp-${version}";
  version = "1.6.1";

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

  buildInputs = [cmake];

  doCheck = false;

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