From 55d2974b0f83e2e56a0cb07318eab4843fff6b95 Mon Sep 17 00:00:00 2001 From: figsoda Date: Tue, 18 Jul 2023 18:26:17 -0400 Subject: [PATCH] python310Packages.universal-pathlib: 0.0.23 -> 0.0.24 Diff: https://github.com/fsspec/universal_pathlib/compare/v0.0.23...v0.0.24 Changelog: https://github.com/fsspec/universal_pathlib/releases/tag/v0.0.24 --- .../universal-pathlib/default.nix | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/universal-pathlib/default.nix b/pkgs/development/python-modules/universal-pathlib/default.nix index 2a23c01dd8e8..2b0b0dc66285 100644 --- a/pkgs/development/python-modules/universal-pathlib/default.nix +++ b/pkgs/development/python-modules/universal-pathlib/default.nix @@ -1,24 +1,25 @@ { lib , buildPythonPackage -, fetchFromGitHub -, flit-core +, fetchPypi +, setuptools +, setuptools-scm , fsspec }: buildPythonPackage rec { pname = "universal-pathlib"; - version = "0.0.23"; + version = "0.0.24"; format = "pyproject"; - src = fetchFromGitHub { - owner = "fsspec"; - repo = "universal_pathlib"; - rev = "v${version}"; - hash = "sha256-UT4S7sqRn0/YFzFL1KzByK44u8G7pwWHERzJEm7xmiw="; + src = fetchPypi { + pname = "universal_pathlib"; + inherit version; + hash = "sha256-/L/7leS8afcEr13eT5piSyJp8lGjjIGri+wZ3+qtgw8="; }; nativeBuildInputs = [ - flit-core + setuptools + setuptools-scm ]; propagatedBuildInputs = [ @@ -30,7 +31,7 @@ buildPythonPackage rec { meta = with lib; { description = "Pathlib api extended to use fsspec backends"; homepage = "https://github.com/fsspec/universal_pathlib"; - changelog = "https://github.com/fsspec/universal_pathlib/releases/tag/${src.rev}"; + changelog = "https://github.com/fsspec/universal_pathlib/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; };