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