2018-11-26 21:19:26 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, six
|
|
|
|
, wheel
|
|
|
|
}:
|
2018-06-08 15:13:47 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "astunparse";
|
2018-11-26 21:19:26 +01:00
|
|
|
version = "1.6.1";
|
|
|
|
|
2018-06-08 15:13:47 +02:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-26 21:19:26 +01:00
|
|
|
sha256 = "d27b16fb33dea0778c5a2c01801554eae0d3f8a8d6f604f15627589c3d6f11ca";
|
2018-06-08 15:13:47 +02:00
|
|
|
};
|
2018-11-26 21:19:26 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ six wheel ];
|
|
|
|
|
|
|
|
# tests not included with pypi release
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-06-08 15:13:47 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "This is a factored out version of unparse found in the Python source distribution";
|
2018-11-26 21:19:26 +01:00
|
|
|
homepage = https://github.com/simonpercivall/astunparse;
|
2018-06-08 15:13:47 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jyp ];
|
|
|
|
};
|
|
|
|
}
|