mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
24 lines
618 B
Nix
24 lines
618 B
Nix
{ lib, stdenv, fetchFromGitHub, installShellFiles, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "doctest";
|
|
version = "2.4.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "doctest";
|
|
repo = "doctest";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ugmkeX2PN4xzxAZpWgswl4zd2u125Q/ADSKzqTfnd94=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/doctest/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 ];
|
|
};
|
|
}
|