46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
23 lines
573 B
Nix
23 lines
573 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "trompeloeil";
|
|
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;
|
|
};
|
|
}
|