Commit b74b3cb8 authored by serge-sans-paille's avatar serge-sans-paille
Browse files

xeus: init at 3.0.5

parent 3bfc08b5
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, cmake
, doctest
, nlohmann_json
, libuuid
, xtl
}:

stdenv.mkDerivation rec {
  pname = "xeus";
  version = "3.0.5";

  src = fetchFromGitHub {
    owner = "jupyter-xeus";
    repo = pname;
    rev = version;
    sha256 = "sha256-LeU4PJ1UKfGqkRKq0/Mn9gjwNmXCy0/2SbjWJrjlOyU=";
  };

  nativeBuildInputs = [
    cmake
    doctest
  ];

  buildInputs = [
    nlohmann_json
    libuuid
    xtl
  ];

  cmakeFlags = [
    "-DXEUS_BUILD_TESTS=ON"
  ];

  doCheck = true;
  preCheck = ''export LD_LIBRARY_PATH=$PWD'';

  meta = with lib; {
    homepage = "https://xeus.readthedocs.io";
    description = "C++ implementation of the Jupyter Kernel protocol";
    license = licenses.bsd3;
    maintainers = with maintainers; [ serge_sans_paille ];
    platforms = platforms.all;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -18638,6 +18638,8 @@ with pkgs;
  xcpretty = callPackage ../development/tools/xcpretty { };
  xeus = callPackage ../development/libraries/xeus { };
  xmlindent = callPackage ../development/web/xmlindent {};
  xpwn = callPackage ../development/mobile/xpwn {};