mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
39 lines
716 B
Nix
39 lines
716 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
cmake,
|
|
setuptools,
|
|
xrootd,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "xrootd";
|
|
pyproject = true;
|
|
|
|
inherit (xrootd) version src;
|
|
|
|
sourceRoot = "${src.name}/bindings/python";
|
|
|
|
build-system = [
|
|
cmake
|
|
setuptools
|
|
];
|
|
|
|
buildInputs = [ xrootd ];
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
pythonImportsCheck = [ "XRootD" ];
|
|
|
|
# Tests are only compatible with Python 2
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "XRootD central repository";
|
|
homepage = "https://github.com/xrootd/xrootd";
|
|
changelog = "https://github.com/xrootd/xrootd/releases/tag/v${version}";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [ GaetanLepage ];
|
|
};
|
|
}
|