24 lines
583 B
Nix
24 lines
583 B
Nix
|
{ stdenv, fetchFromGitHub, cmake }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
name = "trompeloeil-${version}";
|
||
|
version = "34";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "rollbear";
|
||
|
repo = "trompeloeil";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "0mj3zni18kfm04jrqjaa1p6ii5q0dz6qdm3hi57z9lzygaxbdc97";
|
||
|
};
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
}
|