Something went wrong. Try again.
lol
Something went wrong. Try again.
1.4 kB · 67 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768{ lib, stdenv, buildPythonPackage, fetchFromGitHub,
# build-system setuptools, setuptools-scm,
# dependencies fsspec, xrootd,
# tests pkgs, pytestCheckHook,}:
buildPythonPackage (finalAttrs: { pname = "fsspec-xrootd"; version = "0.5.3"; pyproject = true;
src = fetchFromGitHub { owner = "CoffeaTeam"; repo = "fsspec-xrootd"; tag = "v${finalAttrs.version}"; hash = "sha256-phtvWBKaBu6piVB226y9R29njI39z6vRLBbwlHZbpKk="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ fsspec xrootd ];
pythonImportsCheck = [ "fsspec_xrootd" ];
nativeCheckInputs = [ pkgs.xrootd pytestCheckHook ]; disabledTests = [ # Hangs indefinitely "test_broken_server"
# Fails (on aarch64-linux) as it runs sleep, touch, stat and makes assumptions about the # scheduler and the filesystem. "test_touch_modified" ];
# Timeout related tests hang indifinetely disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ "tests/test_basicio.py" ];
meta = { description = "XRootD implementation for fsspec"; homepage = "https://github.com/CoffeaTeam/fsspec-xrootd"; changelog = "https://github.com/CoffeaTeam/fsspec-xrootd/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; };})