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