evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / mi / mingtest / package.nix
blobaf847cd2f77b0346287032d0c4de5fcd7780c936
2   stdenv,
3   cmake,
4   fetchFromGitHub,
5   lib,
6 }:
8 stdenv.mkDerivation rec {
9   name = "mingtest";
10   version = "0.2.1";
11   src = fetchFromGitHub {
12     owner = "craflin";
13     repo = "mingtest";
14     rev = "refs/tags/${version}";
15     hash = "sha256-buFr5w+3YJ2gJeQ8YTsFrUMU9hWq/iAJ6cW6ykvETfM=";
16   };
18   postPatch = ''
19     substituteInPlace CMakeLists.txt \
20       --replace-fail "include(CDeploy)" "" \
21       --replace-fail "install_deploy_export()" ""
22   '';
24   nativeBuildInputs = [ cmake ];
26   meta = {
27     description = "Minimalistic C++ unit test framework";
28     homepage = "https://github.com/craflin/mingtest";
29     license = lib.licenses.mit;
30     maintainers = with lib.maintainers; [ lutzberger ];
31     platforms = lib.platforms.linux;
32   };