depot/third_party/nixpkgs/pkgs/development/libraries/xeus/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

47 lines
812 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, doctest
, nlohmann_json
, libuuid
, xtl
}:
stdenv.mkDerivation rec {
pname = "xeus";
version = "3.2.0";
src = fetchFromGitHub {
owner = "jupyter-xeus";
repo = pname;
rev = version;
sha256 = "sha256-D/dJ0SHxTHJw63gHD6FRZS7O2TVZ0voIv2mQASEjLA8=";
};
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;
};
}