Skip to content

Commit

Permalink
mingtest: init at 0.1.9 (#327902)
Browse files Browse the repository at this point in the history
  • Loading branch information
eclairevoyant authored Aug 29, 2024
2 parents 567504e + 33bcb49 commit 3aeb372
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
34 changes: 34 additions & 0 deletions pkgs/by-name/mi/mingtest/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
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;
};

}

0 comments on commit 3aeb372

Please sign in to comment.