mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:03:22 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
28 lines
590 B
Nix
28 lines
590 B
Nix
{stdenv, fetchFromGitHub, cmake}:
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "unittest-cpp";
|
|
version = "2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "unittest-cpp";
|
|
repo = "unittest-cpp";
|
|
rev = "v${version}";
|
|
sha256 = "0sxb3835nly1jxn071f59fwbdzmqi74j040r81fanxyw3s1azw0i";
|
|
};
|
|
|
|
buildInputs = [cmake];
|
|
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
homepage = https://github.com/unittest-cpp/unittest-cpp;
|
|
description = "Lightweight unit testing framework for C++";
|
|
license = licenses.mit;
|
|
maintainers = [];
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|