2021-01-25 08:26:54 +00:00
|
|
|
{
|
|
|
|
lib,
|
2018-11-26 20:19:26 +00:00
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
six,
|
|
|
|
wheel,
|
|
|
|
}:
|
2018-06-08 13:13:47 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "astunparse";
|
2019-12-29 09:28:05 +00:00
|
|
|
version = "1.6.3";
|
2023-12-07 03:53:02 +00:00
|
|
|
format = "setuptools";
|
2018-11-26 20:19:26 +00:00
|
|
|
|
2018-06-08 13:13:47 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-29 09:28:05 +00:00
|
|
|
sha256 = "5ad93a8456f0d084c3456d059fd9a92cce667963232cbf763eac3bc5b7940872";
|
2018-06-08 13:13:47 +00:00
|
|
|
};
|
2018-11-26 20:19:26 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
wheel
|
|
|
|
];
|
|
|
|
|
|
|
|
# tests not included with pypi release
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-06-08 13:13:47 +00:00
|
|
|
description = "This is a factored out version of unparse found in the Python source distribution";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/simonpercivall/astunparse";
|
2018-06-08 13:13:47 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jyp ];
|
|
|
|
};
|
|
|
|
}
|