asttokens: 1.1.13 -> 2.0.4

This commit is contained in:
Renato Florentino Garcia 2020-04-24 22:21:36 -03:00
parent 9d73d28580
commit de9866e38c

View file

@ -1,27 +1,19 @@
{ lib, fetchPypi, buildPythonPackage, fetchpatch, astroid, six, coverage
, lazy-object-proxy, nose, wrapt
{ lib, fetchPypi, buildPythonPackage,
setuptools_scm, toml, six, astroid, pytest
}:
buildPythonPackage rec {
pname = "asttokens";
version = "1.1.13";
version = "2.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "1vd4djlxmgznz84gzakkv45avnrcpgl1kir92l1pxyp0z5c0dh2m";
sha256 = "0a2ixiz04aw4p0aivxh47k3fa9ql804l3y5iv5gcih9aizi5fbm4";
};
patches = [
# Fix tests for astroid 2.2 in python 3. Remove with the next release
(fetchpatch {
url = "https://github.com/gristlabs/asttokens/commit/21caaaa74105c410b3d84c3d8ff0dc2f612aac9a.patch";
sha256 = "182xfr0cx4pxx0dv1l50a1c281h8ywir8vvd1zh5iicflivim1nv";
})
];
propagatedBuildInputs = [ setuptools_scm toml six astroid ];
propagatedBuildInputs = [ lazy-object-proxy six wrapt astroid ];
checkInputs = [ coverage nose ];
checkInputs = [ pytest ];
meta = with lib; {
homepage = "https://github.com/gristlabs/asttokens";