Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, rustPlatform,}:
buildPythonPackage (finalAttrs: { pname = "ast-serialize"; version = "0.6.0"; pyproject = true;
src = fetchFromGitHub { owner = "mypyc"; repo = "ast_serialize"; tag = "v${finalAttrs.version}"; hash = "sha256-7MNtry/GDUpjuh/rMB+R4wAQpPAG/yLNGqH4tEyK7tw="; };
cargoDeps = rustPlatform.fetchCargoVendor { inherit (finalAttrs) pname version src; hash = "sha256-iw1qkQoagmS+8e9znEEo4EZocu+ECL4c+egBY2TOrk0="; };
build-system = [ rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook ];
pythonImportsCheck = [ "ast_serialize" ];
meta = { description = "Fast Python parser that generates a serialized AST"; homepage = "https://github.com/mypyc/ast_serialize"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hexa ]; };})