2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2019-06-30 23:44:38 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "trompeloeil";
|
2021-03-15 12:36:39 -07:00
|
|
|
version = "40";
|
2019-06-30 23:44:38 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rollbear";
|
|
|
|
repo = "trompeloeil";
|
|
|
|
rev = "v${version}";
|
2021-03-15 12:36:39 -07:00
|
|
|
sha256 = "sha256-q0iMM3Hb5Y21RUhhxFEd/q4OCJFJ12gozZd5jCDscro=";
|
2019-06-30 23:44:38 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 09:00:13 -08:00
|
|
|
meta = with lib; {
|
2019-06-30 23:44:38 -07:00
|
|
|
description = "Header only C++14 mocking framework";
|
|
|
|
homepage = "https://github.com/rollbear/trompeloeil";
|
|
|
|
license = licenses.boost;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|