mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
28 lines
702 B
Nix
28 lines
702 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "catch-${version}";
|
|
version = "1.9.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "philsquared";
|
|
repo = "Catch";
|
|
rev = "v${version}";
|
|
sha256 = "0nqnyw6haa2771748ycag4hhjb8ni32cv4f7w3h0pji212542xan";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
cmakeFlags = [ "-DUSE_CPP14=ON" ];
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
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;
|
|
};
|
|
}
|