mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
python311Packages.fsspec-xrootd: init at 0.2.4
This commit is contained in:
65
pkgs/development/python-modules/fsspec-xrootd/default.nix
Normal file
65
pkgs/development/python-modules/fsspec-xrootd/default.nix
Normal file
@@ -0,0 +1,65 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, fsspec
|
||||
, xrootd
|
||||
, pkgs
|
||||
, pytestCheckHook
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fsspec-xrootd";
|
||||
version = "0.2.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CoffeaTeam";
|
||||
repo = "fsspec-xrootd";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-8TT+49SF/3i2OMIDcDD0AXEn0J9UkNX2q/SBkfoMXso=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
fsspec
|
||||
xrootd
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fsspec_xrootd"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pkgs.xrootd
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# 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 = with lib; {
|
||||
description = "An XRootD implementation for fsspec";
|
||||
homepage = "https://github.com/CoffeaTeam/fsspec-xrootd";
|
||||
changelog = "https://github.com/CoffeaTeam/fsspec-xrootd/releases/tag/v${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
||||
@@ -4394,6 +4394,8 @@ self: super: with self; {
|
||||
|
||||
fschat = callPackage ../development/python-modules/fschat { };
|
||||
|
||||
fsspec-xrootd = callPackage ../development/python-modules/fsspec-xrootd { };
|
||||
|
||||
fsspec = callPackage ../development/python-modules/fsspec { };
|
||||
|
||||
fst-pso = callPackage ../development/python-modules/fst-pso { };
|
||||
|
||||
Reference in New Issue
Block a user