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