1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 setuptools, 7 setuptools-changelog-shortener, 8 requests, 9 tomli, 10 pytestCheckHook, 11 lazy, 12}: 13 14buildPythonPackage rec { 15 pname = "devpi-common"; 16 version = "4.0.3"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-+OAbT23wgPYihMzljFuxzh6GmwwjSqx60TVgl0X8Fz0="; 24 }; 25 26 nativeBuildInputs = [ 27 setuptools 28 setuptools-changelog-shortener 29 ]; 30 31 propagatedBuildInputs = [ 32 requests 33 lazy 34 tomli 35 ]; 36 37 nativeCheckInputs = [ pytestCheckHook ]; 38 39 pythonImportsCheck = [ "devpi_common" ]; 40 41 meta = with lib; { 42 homepage = "https://github.com/devpi/devpi"; 43 description = "Utilities jointly used by devpi-server and devpi-client"; 44 changelog = "https://github.com/devpi/devpi/blob/common-${version}/common/CHANGELOG"; 45 license = licenses.mit; 46 maintainers = with maintainers; [ 47 lewo 48 makefu 49 ]; 50 }; 51}