e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
47 lines
812 B
Nix
47 lines
812 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, doctest
|
|
, nlohmann_json
|
|
, libuuid
|
|
, xtl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xeus";
|
|
version = "3.1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jupyter-xeus";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-Fh1MSA3pRWgCT5V01gawjtto2fv+04vIV+4+OGhaxJA=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|