You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
723 B

3 months ago
  1. { stdenv, fetchFromGitHub }:
  2. stdenv.mkDerivation rec {
  3. name = "l3pp-${version}";
  4. version = "git";
  5. src = fetchFromGitHub {
  6. owner = "hbruintjes";
  7. repo = "l3pp";
  8. rev = "e4f8d7fe6c328849aff34d2dfd6fd592c14070d5";
  9. sha256 = "0bd0m4hj7iy5y9546sr7d156hmq6q7d5jys495jd26ngvibkv9hp";
  10. };
  11. phases = "unpackPhase installPhase fixupPhase";
  12. installPhase = ''
  13. mkdir -p $out/include $out/share/doc/l3pp
  14. cp LICENSE Readme.md $out/share/doc/l3pp
  15. cp -r *.h impl $out/include
  16. '';
  17. meta = with stdenv.lib; {
  18. description = "Lightweight Logging Library for C++";
  19. homepage = https://github.com/hbruintjes/l3pp;
  20. maintainers = [ maintainers.spacefrogg ];
  21. platforms = platforms.all;
  22. };
  23. }