depot/third_party/nixpkgs/pkgs/development/python-modules/xrootd/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

40 lines
742 B
Nix

{
lib,
buildPythonPackage,
cmake,
setuptools,
wheel,
xrootd,
}:
buildPythonPackage rec {
pname = "xrootd";
pyproject = true;
inherit (xrootd) version src;
sourceRoot = "${src.name}/bindings/python";
nativeBuildInputs = [
cmake
setuptools
wheel
];
buildInputs = [ xrootd ];
dontUseCmakeConfigure = true;
pythonImportsCheck = [ "XRootD" ];
# Tests are only compatible with Python 2
doCheck = false;
meta = with lib; {
description = "XRootD central repository";
homepage = "https://github.com/xrootd/xrootd";
changelog = "https://github.com/xrootd/xrootd/releases/tag/v${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ GaetanLepage ];
};
}