1{ lib 2, buildPythonPackage 3, fetchPypi 4, pyparsing 5, six 6, pytestCheckHook 7, pretend 8, setuptools 9}: 10 11buildPythonPackage rec { 12 pname = "packaging"; 13 version = "20.9"; 14 format = "pyproject"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "sha256-WzJ6wTINyGPcpy9FFOzAhvMRhnRLhKIwN0zB/Xdv6uU="; 19 }; 20 21 nativeBuildInputs = [ 22 setuptools 23 ]; 24 25 propagatedBuildInputs = [ pyparsing six ]; 26 27 checkInputs = [ 28 pytestCheckHook 29 pretend 30 ]; 31 32 # Prevent circular dependency 33 doCheck = false; 34 35 meta = with lib; { 36 description = "Core utilities for Python packages"; 37 homepage = "https://github.com/pypa/packaging"; 38 license = [ licenses.bsd2 licenses.asl20 ]; 39 maintainers = with maintainers; [ bennofs ]; 40 }; 41}