1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 six,
6 wheel,
7}:
8
9buildPythonPackage rec {
10 pname = "astunparse";
11 version = "1.6.3";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "5ad93a8456f0d084c3456d059fd9a92cce667963232cbf763eac3bc5b7940872";
17 };
18
19 propagatedBuildInputs = [
20 six
21 wheel
22 ];
23
24 # tests not included with pypi release
25 doCheck = false;
26
27 meta = with lib; {
28 description = "This is a factored out version of unparse found in the Python source distribution";
29 homepage = "https://github.com/simonpercivall/astunparse";
30 license = licenses.bsd3;
31 };
32}