Files
nixpkgs/pkgs/by-name/xe/xeus/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
907 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
doctest,
nlohmann_json,
libuuid,
nix-update-script,
xtl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "xeus";
version = "5.2.3";
src = fetchFromGitHub {
owner = "jupyter-xeus";
repo = "xeus";
tag = finalAttrs.version;
hash = "sha256-7hT2Ellgut25R3R28nRKd6/kKmfQf9NCoJ2BV9ZGt8I=";
};
nativeBuildInputs = [
cmake
doctest
];
buildInputs = [
nlohmann_json
libuuid
];
cmakeFlags = [
"-DXEUS_BUILD_TESTS=ON"
];
doCheck = true;
preCheck = ''export LD_LIBRARY_PATH=$PWD'';
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://xeus.readthedocs.io";
description = "C++ implementation of the Jupyter Kernel protocol";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ serge_sans_paille ];
platforms = lib.platforms.all;
};
})