nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at release-19.03 27 lines 684 B view raw
1{ stdenv, fetchFromGitHub, cmake, python }: 2 3stdenv.mkDerivation rec { 4 name = "catch2-${version}"; 5 version = "2.6.0"; 6 7 src = fetchFromGitHub { 8 owner = "catchorg"; 9 repo = "Catch2"; 10 rev = "v${version}"; 11 sha256="1p2y6fhxfmb48nl03xdg62nfrwssaaiw10vzr194z6srcj90n2r7"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 cmakeFlags = [ 17 "-H.." 18 "-DBUILD_TESTING=OFF"]; 19 20 meta = with stdenv.lib; { 21 description = "A multi-paradigm automated test framework for C++ and Objective-C (and, maybe, C)"; 22 homepage = http://catch-lib.net; 23 license = licenses.boost; 24 maintainers = with maintainers; [ edwtjo knedlsepp ]; 25 platforms = with platforms; unix; 26 }; 27}