nixpkgs/pkgs/development/libraries/trompeloeil/default.nix
2023-08-07 12:36:12 +02:00

24 lines
570 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "trompeloeil";
version = "45";
src = fetchFromGitHub {
owner = "rollbear";
repo = "trompeloeil";
rev = "v${version}";
sha256 = "sha256-oCDsvpH9P5onME/t+o7VGttk1cHUpneODz21/0RkVkk=";
};
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;
};
}