From aca513ece2a3432336cd66615cd43550eb742d21 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 14 Sep 2024 10:45:01 +0000 Subject: [PATCH] python312Packages.fsspec-xrootd: 0.3.0 -> 0.4.0 --- .../python-modules/fsspec-xrootd/default.nix | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/fsspec-xrootd/default.nix b/pkgs/development/python-modules/fsspec-xrootd/default.nix index 9876b51a4ec6..73799c933f80 100644 --- a/pkgs/development/python-modules/fsspec-xrootd/default.nix +++ b/pkgs/development/python-modules/fsspec-xrootd/default.nix @@ -1,37 +1,40 @@ { lib, + stdenv, buildPythonPackage, - pythonOlder, fetchFromGitHub, + + # build-system setuptools, setuptools-scm, + + # dependencies fsspec, xrootd, + + # tests pkgs, pytestCheckHook, - stdenv, }: buildPythonPackage rec { pname = "fsspec-xrootd"; - version = "0.3.0"; + version = "0.4.0"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "CoffeaTeam"; repo = "fsspec-xrootd"; rev = "refs/tags/v${version}"; - hash = "sha256-fhamfMWlsiiqfU9c9XDfLEEkRbMAqm74rc2bGF3fRaM="; + hash = "sha256-Ge7pVrcCYNp8yNV+ZkBftLeCCSUhtO+HJHsSHT58jcs="; }; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm ]; - propagatedBuildInputs = [ + dependencies = [ fsspec xrootd ]; @@ -52,11 +55,11 @@ buildPythonPackage rec { # Timeout related tests hang indifinetely disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ "tests/test_basicio.py" ]; - meta = with lib; { + meta = { description = "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 ]; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ GaetanLepage ]; }; }