diff options
author | serge-sans-paille <serge.guelton@telecom-bretagne.eu> | 2023-01-22 14:48:31 +0100 |
---|---|---|
committer | serge-sans-paille <serge.guelton@telecom-bretagne.eu> | 2023-02-04 08:49:32 +0100 |
commit | b74b3cb87088d573e9aae46d9f0463709bfc39e0 (patch) | |
tree | f8731f602b14503644e0afa2aaa54eb423f5e8b0 /pkgs/development/libraries/xeus | |
parent | 3bfc08b5c0290f338c2f2ad91217e4be5894afbf (diff) | |
download | nixpkgs-b74b3cb87088d573e9aae46d9f0463709bfc39e0.tar nixpkgs-b74b3cb87088d573e9aae46d9f0463709bfc39e0.tar.gz nixpkgs-b74b3cb87088d573e9aae46d9f0463709bfc39e0.tar.bz2 nixpkgs-b74b3cb87088d573e9aae46d9f0463709bfc39e0.tar.lz nixpkgs-b74b3cb87088d573e9aae46d9f0463709bfc39e0.tar.xz nixpkgs-b74b3cb87088d573e9aae46d9f0463709bfc39e0.tar.zst nixpkgs-b74b3cb87088d573e9aae46d9f0463709bfc39e0.zip |
xeus: init at 3.0.5
Diffstat (limited to 'pkgs/development/libraries/xeus')
-rw-r--r-- | pkgs/development/libraries/xeus/default.nix | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/libraries/xeus/default.nix b/pkgs/development/libraries/xeus/default.nix new file mode 100644 index 00000000000..3231fa2744c --- /dev/null +++ b/pkgs/development/libraries/xeus/default.nix @@ -0,0 +1,47 @@ +{ 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; + }; +} |