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