nixpkgs/pkgs/development/libraries/trompeloeil/default.nix

24 lines
573 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "trompeloeil";
2020-02-14 23:02:23 +00:00
version = "37";
src = fetchFromGitHub {
owner = "rollbear";
repo = "trompeloeil";
rev = "v${version}";
2020-02-14 23:02:23 +00:00
sha256 = "04f9vpzh4fc15w4ynirzs9ipm9r31dbggb2zilmk0fj4qr79am42";
};
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;
};
}