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