2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
cmake,
|
|
|
|
setuptools,
|
|
|
|
wheel,
|
|
|
|
xrootd,
|
2024-02-29 20:09:43 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "xrootd";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
inherit (xrootd) version src;
|
|
|
|
|
|
|
|
sourceRoot = "${src.name}/bindings/python";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
setuptools
|
|
|
|
wheel
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
buildInputs = [ xrootd ];
|
2024-02-29 20:09:43 +00:00
|
|
|
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "XRootD" ];
|
|
|
|
|
|
|
|
# Tests are only compatible with Python 2
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "XRootD central repository";
|
2024-02-29 20:09:43 +00:00
|
|
|
homepage = "https://github.com/xrootd/xrootd";
|
|
|
|
changelog = "https://github.com/xrootd/xrootd/releases/tag/v${version}";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ GaetanLepage ];
|
|
|
|
};
|
|
|
|
}
|