nixpkgs/pkgs/development/libraries/doctest/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
618 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, installShellFiles, cmake }:
stdenv.mkDerivation rec {
pname = "doctest";
2022-06-25 15:29:40 +00:00
version = "2.4.9";
src = fetchFromGitHub {
owner = "doctest";
repo = "doctest";
rev = "v${version}";
2022-06-25 15:29:40 +00:00
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";
2021-02-06 20:32:51 +00:00
platforms = platforms.all;
license = licenses.mit;
maintainers = with maintainers; [ davidtwco ];
};
}