nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python3Packages.gast: 0.5.1 -> 0.5.3

authored by

Fabian Affolter and committed by
Martin Weinelt
ae72567c 01eaeb19

+19 -7
+19 -7
pkgs/development/python-modules/gast/default.nix
··· 1 1 { lib 2 - , fetchFromGitHub 3 - , buildPythonPackage 4 2 , astunparse 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , pytestCheckHook 6 + , pythonOlder 5 7 }: 6 8 7 9 buildPythonPackage rec { 8 10 pname = "gast"; 9 - version = "0.5.1"; 11 + version = "0.5.3"; 12 + format = "setuptools"; 13 + 14 + disabled = pythonOlder "3.7"; 10 15 11 16 src = fetchFromGitHub { 12 17 owner = "serge-sans-paille"; 13 - repo = "gast"; 18 + repo = pname; 14 19 rev = version; 15 - sha256 = "1gph45frnj47lfr6idiyxrb3gk7vzc9rni9cijmcyz10dyx5kgwa"; 20 + sha256 = "sha256-0y2bHT7YEfTvDxTm6yLl3GmnPUYEieoGEnwkzfA6mOg="; 16 21 }; 17 22 18 - checkInputs = [ astunparse ]; 23 + checkInputs = [ 24 + astunparse 25 + pytestCheckHook 26 + ]; 27 + 28 + pythonImportsCheck = [ 29 + "gast" 30 + ]; 19 31 20 32 meta = with lib; { 21 - description = "GAST provides a compatibility layer between the AST of various Python versions, as produced by ast.parse from the standard ast module."; 33 + description = "Compatibility layer between the AST of various Python versions"; 22 34 homepage = "https://github.com/serge-sans-paille/gast/"; 23 35 license = licenses.bsd3; 24 36 maintainers = with maintainers; [ jyp cpcloud ];