python3Packages.libcst: 1.7.0 -> 1.8.0 (#411796)

authored by dotlambda and committed by GitHub da62d89b 94d09d10

+52 -4
+6 -4
pkgs/development/python-modules/libcst/default.nix
··· 10 libiconv, 11 pytestCheckHook, 12 python, 13 pyyaml, 14 rustPlatform, 15 rustc, 16 setuptools-rust, ··· 20 21 buildPythonPackage rec { 22 pname = "libcst"; 23 - version = "1.7.0"; 24 pyproject = true; 25 26 src = fetchFromGitHub { 27 owner = "Instagram"; 28 repo = "LibCST"; 29 tag = "v${version}"; 30 - hash = "sha256-KqiB1LieRJJ34kJgIlqyMKCzO7iDen8j9+s0ZmrHe+c="; 31 }; 32 33 cargoDeps = rustPlatform.fetchCargoVendor { 34 inherit pname version src; 35 sourceRoot = "${src.name}/${cargoRoot}"; 36 - hash = "sha256-EPS506x8KUFAbZ47ZWtH1q0ndXutM2fOqcsYpXRc0+c="; 37 }; 38 39 cargoRoot = "native"; ··· 52 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]; 53 54 dependencies = [ 55 - pyyaml 56 ]; 57 58 nativeCheckInputs = [
··· 10 libiconv, 11 pytestCheckHook, 12 python, 13 + pythonOlder, 14 pyyaml, 15 + pyyaml-ft, 16 rustPlatform, 17 rustc, 18 setuptools-rust, ··· 22 23 buildPythonPackage rec { 24 pname = "libcst"; 25 + version = "1.8.0"; 26 pyproject = true; 27 28 src = fetchFromGitHub { 29 owner = "Instagram"; 30 repo = "LibCST"; 31 tag = "v${version}"; 32 + hash = "sha256-mHYcbw3BfvntKHadObYow8H/2f0LqpfSTbKju0CKhx4="; 33 }; 34 35 cargoDeps = rustPlatform.fetchCargoVendor { 36 inherit pname version src; 37 sourceRoot = "${src.name}/${cargoRoot}"; 38 + hash = "sha256-K8hug7JeLPIvrqgVaONKfixu8XRvn+pnqS0fHV+nTqg="; 39 }; 40 41 cargoRoot = "native"; ··· 54 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]; 55 56 dependencies = [ 57 + (if pythonOlder "3.13" then pyyaml else pyyaml-ft) 58 ]; 59 60 nativeCheckInputs = [
+44
pkgs/development/python-modules/pyyaml-ft/default.nix
···
··· 1 + { 2 + buildPythonPackage, 3 + cython, 4 + fetchFromGitHub, 5 + lib, 6 + libyaml, 7 + pytestCheckHook, 8 + pythonOlder, 9 + setuptools, 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "pyyaml"; 14 + version = "7.0.1"; 15 + pyproject = true; 16 + 17 + disabled = pythonOlder "3.13"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "Quansight-Labs"; 21 + repo = "pyyaml-ft"; 22 + tag = "v${version}"; 23 + hash = "sha256-hmHozVmqQuS+NqRN2SSEqNCemyKcBM19elhka4GykE0="; 24 + }; 25 + 26 + build-system = [ 27 + cython 28 + setuptools 29 + ]; 30 + 31 + buildInputs = [ libyaml ]; 32 + 33 + pythonImportsCheck = [ "yaml" ]; 34 + 35 + nativeCheckInputs = [ pytestCheckHook ]; 36 + 37 + meta = { 38 + changelog = "https://github.com/Quansight-Labs/pyyaml-ft/blob/${src.tag}/CHANGES"; 39 + description = "YAML parser and emitter for Python with support for free-threading"; 40 + homepage = "https://github.com/Quansight-Labs/pyyaml-ft"; 41 + license = lib.licenses.mit; 42 + maintainers = with lib.maintainers; [ dotlambda ]; 43 + }; 44 + }
+2
pkgs/top-level/python-packages.nix
··· 14700 14701 pyyaml-env-tag = callPackage ../development/python-modules/pyyaml-env-tag { }; 14702 14703 pyyaml-include = callPackage ../development/python-modules/pyyaml-include { }; 14704 14705 pyyardian = callPackage ../development/python-modules/pyyardian { };
··· 14700 14701 pyyaml-env-tag = callPackage ../development/python-modules/pyyaml-env-tag { }; 14702 14703 + pyyaml-ft = callPackage ../development/python-modules/pyyaml-ft { }; 14704 + 14705 pyyaml-include = callPackage ../development/python-modules/pyyaml-include { }; 14706 14707 pyyardian = callPackage ../development/python-modules/pyyardian { };