nixpkgs/pkgs/development/libraries/doctest/default.nix
2021-02-06 12:33:23 -08:00

23 lines
608 B
Nix

{ lib, stdenv, fetchFromGitHub, installShellFiles, cmake }:
stdenv.mkDerivation rec {
pname = "doctest";
version = "2.4.4";
src = fetchFromGitHub {
owner = "onqtam";
repo = "doctest";
rev = version;
hash = "sha256-NqXC5948prTCi4gsaR8bJPBTrmH+rJbHsGvwkJlpjXY=";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
homepage = "https://github.com/onqtam/doctest";
description = "The fastest feature-rich C++11/14/17/20 single-header testing framework";
platforms = platforms.all;
license = licenses.mit;
maintainers = with maintainers; [ davidtwco ];
};
}