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