at 24.05-pre 47 lines 812 B view raw
1{ lib 2, stdenv 3, fetchFromGitHub 4, cmake 5, doctest 6, nlohmann_json 7, libuuid 8, xtl 9}: 10 11stdenv.mkDerivation rec { 12 pname = "xeus"; 13 version = "3.1.3"; 14 15 src = fetchFromGitHub { 16 owner = "jupyter-xeus"; 17 repo = pname; 18 rev = version; 19 sha256 = "sha256-kGIVcsgLG6weNfBwgEVTMa8NA9MXSztzi9ML5/gDqAQ="; 20 }; 21 22 nativeBuildInputs = [ 23 cmake 24 doctest 25 ]; 26 27 buildInputs = [ 28 nlohmann_json 29 libuuid 30 xtl 31 ]; 32 33 cmakeFlags = [ 34 "-DXEUS_BUILD_TESTS=ON" 35 ]; 36 37 doCheck = true; 38 preCheck = ''export LD_LIBRARY_PATH=$PWD''; 39 40 meta = with lib; { 41 homepage = "https://xeus.readthedocs.io"; 42 description = "C++ implementation of the Jupyter Kernel protocol"; 43 license = licenses.bsd3; 44 maintainers = with maintainers; [ serge_sans_paille ]; 45 platforms = platforms.all; 46 }; 47}