nixpkgs/pkgs/development/libraries/unittest-cpp/default.nix

28 lines
591 B
Nix
Raw Normal View History

{lib, stdenv, fetchFromGitHub, cmake}:
2016-07-17 15:20:23 +00:00
with lib;
2016-07-17 15:20:23 +00:00
stdenv.mkDerivation rec {
pname = "unittest-cpp";
version = "2.0.0";
2016-07-17 15:20:23 +00:00
src = fetchFromGitHub {
owner = "unittest-cpp";
repo = "unittest-cpp";
rev = "v${version}";
sha256 = "0sxb3835nly1jxn071f59fwbdzmqi74j040r81fanxyw3s1azw0i";
2016-07-17 15:20:23 +00:00
};
nativeBuildInputs = [ cmake ];
2016-07-17 15:20:23 +00:00
doCheck = false;
meta = {
homepage = "https://github.com/unittest-cpp/unittest-cpp";
2016-07-17 15:20:23 +00:00
description = "Lightweight unit testing framework for C++";
license = licenses.mit;
maintainers = [];
platforms = lib.platforms.unix;
2016-07-17 15:20:23 +00:00
};
}