mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
36ffad1d7e
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/catch2/versions
26 lines
640 B
Nix
26 lines
640 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "catch2";
|
|
version = "2.10.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "catchorg";
|
|
repo = "Catch2";
|
|
rev = "v${version}";
|
|
sha256="1mc6zix3hk3ggpihmdd4y0xvq3qvdw9c1arwnmi4nf3g4693k97r";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
cmakeFlags = [ "-H.." ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C)";
|
|
homepage = "http://catch-lib.net";
|
|
license = licenses.boost;
|
|
maintainers = with maintainers; [ edwtjo knedlsepp ];
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|