Merge pull request #244230 from figsoda/upath

python3.pkgs.universal-pathlib: 0.0.23 -> 0.0.24

authored by Jonas Heinrich and committed by GitHub 2fd3552d 58e29822

+11 -10
+11 -10
pkgs/development/python-modules/universal-pathlib/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchFromGitHub 4 - , flit-core 3 + , fetchPypi 4 + , setuptools 5 + , setuptools-scm 5 6 , fsspec 6 7 }: 7 8 8 9 buildPythonPackage rec { 9 10 pname = "universal-pathlib"; 10 - version = "0.0.23"; 11 + version = "0.0.24"; 11 12 format = "pyproject"; 12 13 13 - src = fetchFromGitHub { 14 - owner = "fsspec"; 15 - repo = "universal_pathlib"; 16 - rev = "v${version}"; 17 - hash = "sha256-UT4S7sqRn0/YFzFL1KzByK44u8G7pwWHERzJEm7xmiw="; 14 + src = fetchPypi { 15 + pname = "universal_pathlib"; 16 + inherit version; 17 + hash = "sha256-/L/7leS8afcEr13eT5piSyJp8lGjjIGri+wZ3+qtgw8="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ 21 - flit-core 21 + setuptools 22 + setuptools-scm 22 23 ]; 23 24 24 25 propagatedBuildInputs = [ ··· 30 31 meta = with lib; { 31 32 description = "Pathlib api extended to use fsspec backends"; 32 33 homepage = "https://github.com/fsspec/universal_pathlib"; 33 - changelog = "https://github.com/fsspec/universal_pathlib/releases/tag/${src.rev}"; 34 + changelog = "https://github.com/fsspec/universal_pathlib/releases/tag/v${version}"; 34 35 license = licenses.mit; 35 36 maintainers = with maintainers; [ figsoda ]; 36 37 };