Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 40 lines 823 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5, isPyPy 6, lazy-object-proxy 7, wrapt 8, typed-ast 9, pytestCheckHook 10}: 11 12buildPythonPackage rec { 13 pname = "astroid"; 14 version = "2.5.1"; 15 16 disabled = pythonOlder "3.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "cfc35498ee64017be059ceffab0a25bedf7548ab76f2bea691c5565896e7128d"; 21 }; 22 23 # From astroid/__pkginfo__.py 24 propagatedBuildInputs = [ 25 lazy-object-proxy 26 wrapt 27 ] ++ lib.optional (!isPyPy && pythonOlder "3.8") typed-ast; 28 29 checkInputs = [ 30 pytestCheckHook 31 ]; 32 33 meta = with lib; { 34 description = "An abstract syntax tree for Python with inference support"; 35 homepage = "https://github.com/PyCQA/astroid"; 36 license = licenses.lgpl21Plus; 37 platforms = platforms.all; 38 maintainers = with maintainers; [ ]; 39 }; 40}