at master 716 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cmake, 5 setuptools, 6 xrootd, 7}: 8 9buildPythonPackage rec { 10 pname = "xrootd"; 11 pyproject = true; 12 13 inherit (xrootd) version src; 14 15 sourceRoot = "${src.name}/bindings/python"; 16 17 build-system = [ 18 cmake 19 setuptools 20 ]; 21 22 buildInputs = [ xrootd ]; 23 24 dontUseCmakeConfigure = true; 25 26 pythonImportsCheck = [ "XRootD" ]; 27 28 # Tests are only compatible with Python 2 29 doCheck = false; 30 31 meta = { 32 description = "XRootD central repository"; 33 homepage = "https://github.com/xrootd/xrootd"; 34 changelog = "https://github.com/xrootd/xrootd/releases/tag/v${version}"; 35 license = lib.licenses.gpl3Only; 36 maintainers = with lib.maintainers; [ GaetanLepage ]; 37 }; 38}