mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
8f6436a825
* Disabled on python 2.7 * Updated meta * Changed to pytestCheckHook
27 lines
578 B
Nix
27 lines
578 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "parso";
|
|
version = "0.8.0";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "2b6db14759c528d857eeb9eac559c2166b2554548af39f5198bdfb976f72aa64";
|
|
};
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
meta = with lib; {
|
|
description = "A Python Parser";
|
|
homepage = "https://parso.readthedocs.io/en/latest/";
|
|
changelog = "https://github.com/davidhalter/parso/blob/master/CHANGELOG.rst";
|
|
license = licenses.mit;
|
|
};
|
|
}
|