nixpkgs/pkgs/development/python-modules/astunparse/default.nix
Ihar Hrachyshka 567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

32 lines
624 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
six,
wheel,
}:
buildPythonPackage rec {
pname = "astunparse";
version = "1.6.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "5ad93a8456f0d084c3456d059fd9a92cce667963232cbf763eac3bc5b7940872";
};
propagatedBuildInputs = [
six
wheel
];
# tests not included with pypi release
doCheck = false;
meta = {
description = "This is a factored out version of unparse found in the Python source distribution";
homepage = "https://github.com/simonpercivall/astunparse";
license = lib.licenses.bsd3;
};
}