mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 09:03:42 +00:00
python3Packages.parso: disable on python 2.7
* Disabled on python 2.7 * Updated meta * Changed to pytestCheckHook
This commit is contained in:
parent
29ddc02847
commit
8f6436a825
@ -1,24 +1,26 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytest
|
, pythonOlder
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "parso";
|
pname = "parso";
|
||||||
version = "0.8.0";
|
version = "0.8.0";
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "2b6db14759c528d857eeb9eac559c2166b2554548af39f5198bdfb976f72aa64";
|
sha256 = "2b6db14759c528d857eeb9eac559c2166b2554548af39f5198bdfb976f72aa64";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "A Python Parser";
|
description = "A Python Parser";
|
||||||
homepage = "https://github.com/davidhalter/parso";
|
homepage = "https://parso.readthedocs.io/en/latest/";
|
||||||
license = lib.licenses.mit;
|
changelog = "https://github.com/davidhalter/parso/blob/master/CHANGELOG.rst";
|
||||||
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user