nixpkgs/pkgs/development/python-modules/astunparse/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

30 lines
660 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 = with lib; {
description = "This is a factored out version of unparse found in the Python source distribution";
homepage = "https://github.com/simonpercivall/astunparse";
license = licenses.bsd3;
maintainers = with maintainers; [ jyp ];
};
}