nixpkgs/pkgs/development/libraries/trompeloeil/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 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;
};
}