diff --git a/pkgs/development/python-modules/libcst/default.nix b/pkgs/development/python-modules/libcst/default.nix index 295420bc8f16..7504624bf31e 100644 --- a/pkgs/development/python-modules/libcst/default.nix +++ b/pkgs/development/python-modules/libcst/default.nix @@ -10,35 +10,30 @@ libiconv, pytestCheckHook, python, - pythonOlder, pyyaml, rustPlatform, rustc, setuptools-rust, setuptools-scm, - typing-extensions, - typing-inspect, ufmt, }: buildPythonPackage rec { pname = "libcst"; - version = "1.6.0"; + version = "1.7.0"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "Instagram"; repo = "LibCST"; tag = "v${version}"; - hash = "sha256-OuokZvdaCTgZI1VoXInqs6YNLsVUohaat5IjYYvUeVE="; + hash = "sha256-KqiB1LieRJJ34kJgIlqyMKCzO7iDen8j9+s0ZmrHe+c="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit pname version src; sourceRoot = "${src.name}/${cargoRoot}"; - hash = "sha256-PrWcnhfhc3ZTVwTjzp7cIVlUYeXo164AO687rBI/IoY="; + hash = "sha256-EPS506x8KUFAbZ47ZWtH1q0ndXutM2fOqcsYpXRc0+c="; }; cargoRoot = "native"; @@ -57,8 +52,6 @@ buildPythonPackage rec { buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]; dependencies = [ - typing-extensions - typing-inspect pyyaml ]; @@ -92,7 +85,7 @@ buildPythonPackage rec { meta = { description = "Concrete Syntax Tree (CST) parser and serializer library for Python"; homepage = "https://github.com/Instagram/LibCST"; - changelog = "https://github.com/Instagram/LibCST/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/Instagram/LibCST/blob/${src.tag}/CHANGELOG.md"; license = with lib.licenses; [ mit asl20