Loading pkgs/development/python-modules/libcst/default.nix +6 −4 Original line number Diff line number Diff line Loading @@ -10,7 +10,9 @@ libiconv, pytestCheckHook, python, pythonOlder, pyyaml, pyyaml-ft, rustPlatform, rustc, setuptools-rust, Loading @@ -20,20 +22,20 @@ buildPythonPackage rec { pname = "libcst"; version = "1.7.0"; version = "1.8.0"; pyproject = true; src = fetchFromGitHub { owner = "Instagram"; repo = "LibCST"; tag = "v${version}"; hash = "sha256-KqiB1LieRJJ34kJgIlqyMKCzO7iDen8j9+s0ZmrHe+c="; hash = "sha256-mHYcbw3BfvntKHadObYow8H/2f0LqpfSTbKju0CKhx4="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src; sourceRoot = "${src.name}/${cargoRoot}"; hash = "sha256-EPS506x8KUFAbZ47ZWtH1q0ndXutM2fOqcsYpXRc0+c="; hash = "sha256-K8hug7JeLPIvrqgVaONKfixu8XRvn+pnqS0fHV+nTqg="; }; cargoRoot = "native"; Loading @@ -52,7 +54,7 @@ buildPythonPackage rec { buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]; dependencies = [ pyyaml (if pythonOlder "3.13" then pyyaml else pyyaml-ft) ]; nativeCheckInputs = [ Loading pkgs/development/python-modules/pyyaml-ft/default.nix 0 → 100644 +44 −0 Original line number Diff line number Diff line { buildPythonPackage, cython, fetchFromGitHub, lib, libyaml, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "pyyaml"; version = "7.0.1"; pyproject = true; disabled = pythonOlder "3.13"; src = fetchFromGitHub { owner = "Quansight-Labs"; repo = "pyyaml-ft"; tag = "v${version}"; hash = "sha256-hmHozVmqQuS+NqRN2SSEqNCemyKcBM19elhka4GykE0="; }; build-system = [ cython setuptools ]; buildInputs = [ libyaml ]; pythonImportsCheck = [ "yaml" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { changelog = "https://github.com/Quansight-Labs/pyyaml-ft/blob/${src.tag}/CHANGES"; description = "YAML parser and emitter for Python with support for free-threading"; homepage = "https://github.com/Quansight-Labs/pyyaml-ft"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -14700,6 +14700,8 @@ self: super: with self; { pyyaml-env-tag = callPackage ../development/python-modules/pyyaml-env-tag { }; pyyaml-ft = callPackage ../development/python-modules/pyyaml-ft { }; pyyaml-include = callPackage ../development/python-modules/pyyaml-include { }; pyyardian = callPackage ../development/python-modules/pyyardian { }; Loading
pkgs/development/python-modules/libcst/default.nix +6 −4 Original line number Diff line number Diff line Loading @@ -10,7 +10,9 @@ libiconv, pytestCheckHook, python, pythonOlder, pyyaml, pyyaml-ft, rustPlatform, rustc, setuptools-rust, Loading @@ -20,20 +22,20 @@ buildPythonPackage rec { pname = "libcst"; version = "1.7.0"; version = "1.8.0"; pyproject = true; src = fetchFromGitHub { owner = "Instagram"; repo = "LibCST"; tag = "v${version}"; hash = "sha256-KqiB1LieRJJ34kJgIlqyMKCzO7iDen8j9+s0ZmrHe+c="; hash = "sha256-mHYcbw3BfvntKHadObYow8H/2f0LqpfSTbKju0CKhx4="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src; sourceRoot = "${src.name}/${cargoRoot}"; hash = "sha256-EPS506x8KUFAbZ47ZWtH1q0ndXutM2fOqcsYpXRc0+c="; hash = "sha256-K8hug7JeLPIvrqgVaONKfixu8XRvn+pnqS0fHV+nTqg="; }; cargoRoot = "native"; Loading @@ -52,7 +54,7 @@ buildPythonPackage rec { buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]; dependencies = [ pyyaml (if pythonOlder "3.13" then pyyaml else pyyaml-ft) ]; nativeCheckInputs = [ Loading
pkgs/development/python-modules/pyyaml-ft/default.nix 0 → 100644 +44 −0 Original line number Diff line number Diff line { buildPythonPackage, cython, fetchFromGitHub, lib, libyaml, pytestCheckHook, pythonOlder, setuptools, }: buildPythonPackage rec { pname = "pyyaml"; version = "7.0.1"; pyproject = true; disabled = pythonOlder "3.13"; src = fetchFromGitHub { owner = "Quansight-Labs"; repo = "pyyaml-ft"; tag = "v${version}"; hash = "sha256-hmHozVmqQuS+NqRN2SSEqNCemyKcBM19elhka4GykE0="; }; build-system = [ cython setuptools ]; buildInputs = [ libyaml ]; pythonImportsCheck = [ "yaml" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { changelog = "https://github.com/Quansight-Labs/pyyaml-ft/blob/${src.tag}/CHANGES"; description = "YAML parser and emitter for Python with support for free-threading"; homepage = "https://github.com/Quansight-Labs/pyyaml-ft"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -14700,6 +14700,8 @@ self: super: with self; { pyyaml-env-tag = callPackage ../development/python-modules/pyyaml-env-tag { }; pyyaml-ft = callPackage ../development/python-modules/pyyaml-ft { }; pyyaml-include = callPackage ../development/python-modules/pyyaml-include { }; pyyardian = callPackage ../development/python-modules/pyyardian { };