Unverified Commit 3aeb372e authored by éclairevoyant's avatar éclairevoyant Committed by GitHub
Browse files

mingtest: init at 0.1.9 (#327902)

parents 567504ec 33bcb499
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -12284,6 +12284,12 @@
    githubId = 44469719;
    name = "Jussi Kuokkanen";
  };
  lutzberger = {
    email = "lutz.berger@airbus.com";
    github = "lutzberger";
    githubId = 115777584;
    name = "Lutz Berger";
  };
  lux = {
    email = "lux@lux.name";
    github = "luxzeitlos";
+34 −0
Original line number Diff line number Diff line
{
  stdenv,
  cmake,
  fetchFromGitHub,
  lib,
}:

stdenv.mkDerivation rec {
  name = "mingtest";
  version = "0.1.9";
  src = fetchFromGitHub {
    owner = "craflin";
    repo = "mingtest";
    rev = "refs/tags/${version}";
    hash = "sha256-Iy2KvFCFk+uoztTVxTY7HMdc5GI4gSGqGmbJePJ5CO8=";
  };

  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "include(CDeploy)" "" \
      --replace-fail "install_deploy_export()" ""
  '';

  nativeBuildInputs = [ cmake ];

  meta = {
    description = "Minimalistic C++ unit test framework";
    homepage = "https://github.com/craflin/mingtest";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ lutzberger ];
    platforms = lib.platforms.linux;
  };

}