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

24 lines
571 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "trompeloeil";
2020-11-12 09:23:23 +00:00
version = "39";
src = fetchFromGitHub {
owner = "rollbear";
repo = "trompeloeil";
rev = "v${version}";
2020-11-12 09:23:23 +00:00
sha256 = "1053iw4isi7qsy94fqmh570wki999sg9n70jhqy8kfy1bniczh0l";
};
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Header only C++14 mocking framework";
homepage = "https://github.com/rollbear/trompeloeil";
license = licenses.boost;
maintainers = [ maintainers.bjornfor ];
platforms = platforms.unix;
};
}