Skip to content

Commit

Permalink
Merge pull request #97725 from drewrisinger/zhf/parso-20.09
Browse files Browse the repository at this point in the history
[20.09] python3Packages.parso: disable on python 2.7
  • Loading branch information
doronbehar committed Sep 14, 2020
2 parents ba10637 + 2e4b24f commit 5605f3a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions pkgs/development/python-modules/parso/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pythonOlder
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "parso";
version = "0.8.0";
disabled = pythonOlder "3.6";

src = fetchPypi {
inherit pname version;
sha256 = "2b6db14759c528d857eeb9eac559c2166b2554548af39f5198bdfb976f72aa64";
};

checkInputs = [ pytest ];
checkInputs = [ pytestCheckHook ];

meta = {
meta = with lib; {
description = "A Python Parser";
homepage = "https://github.com/davidhalter/parso";
license = lib.licenses.mit;
homepage = "https://parso.readthedocs.io/en/latest/";
changelog = "https://github.com/davidhalter/parso/blob/master/CHANGELOG.rst";
license = licenses.mit;
};

}

0 comments on commit 5605f3a

Please sign in to comment.