mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
python3Packages.asttokens: 2.0.4 -> 2.0.5
This commit is contained in:
parent
8618740990
commit
ef916c1710
@ -1,29 +1,35 @@
|
|||||||
{ lib, fetchPypi, fetchpatch, buildPythonPackage,
|
{ lib
|
||||||
setuptools-scm, six, astroid, pytest
|
, fetchPypi
|
||||||
|
, buildPythonPackage
|
||||||
|
, setuptools-scm
|
||||||
|
, six
|
||||||
|
, astroid
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "asttokens";
|
pname = "asttokens";
|
||||||
version = "2.0.4";
|
version = "2.0.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0a2ixiz04aw4p0aivxh47k3fa9ql804l3y5iv5gcih9aizi5fbm4";
|
sha256 = "sha256-mlTBFPAsepSA1WVQkyVGo/H+cdigLxvHzNDuPuNc9NU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
nativeBuildInputs = [
|
||||||
# Fixes compatibility with python 3.9, will be included in the next release
|
setuptools-scm
|
||||||
# after 2.0.4
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/gristlabs/asttokens/commit/d8ff80ee7d2e64c5e1daf50cc38eb99663f1b1ac.patch";
|
|
||||||
sha256 = "19y8n8vpzr2ijldbq5rh19sf0vz5azqqpkb9bx0ljjg98h6k7kjj";
|
|
||||||
excludes = [ "setup.cfg" ];
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ setuptools-scm six astroid ];
|
propagatedBuildInputs = [
|
||||||
|
six
|
||||||
|
astroid
|
||||||
|
];
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "asttokens" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/gristlabs/asttokens";
|
homepage = "https://github.com/gristlabs/asttokens";
|
||||||
|
Loading…
Reference in New Issue
Block a user