blob: 33b42f9f0f350dfb674e5c0aa1078a8e4f63aabe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
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 ];
};
}
|