Something went wrong. Try again.
lol
Something went wrong. Try again.
1.0 kB · 46 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pytestCheckHook, unstableGitUpdater,}:
buildPythonPackage { pname = "astor"; version = "0.8.1-unstable-2024-03-30"; pyproject = true;
src = fetchFromGitHub { owner = "berkerpeksag"; repo = "astor"; rev = "df09001112f079db54e7c5358fa143e1e63e74c4"; hash = "sha256-VF+harl/q2yRU2yqN1Txud3YBNSeedQNw2SZNYQFsno="; };
patches = [ # https://github.com/berkerpeksag/astor/pull/233 ./python314-compat.patch ];
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [ # https://github.com/berkerpeksag/astor/issues/196 "test_convert_stdlib" ];
passthru.updateScript = unstableGitUpdater { branch = "master"; };
meta = { description = "Library for reading, writing and rewriting python AST"; homepage = "https://github.com/berkerpeksag/astor"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ nixy ]; };}