Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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.4"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 pname = "devpi_common"; 23 inherit version; 24 hash = "sha256-I1oKmkXJblTGC6a6L3fYVs+Q8aacG+6UmIfp7cA6Qcw="; 25 }; 26 27 nativeBuildInputs = [ 28 setuptools 29 setuptools-changelog-shortener 30 ]; 31 32 propagatedBuildInputs = [ 33 requests 34 lazy 35 tomli 36 ]; 37 38 nativeCheckInputs = [ pytestCheckHook ]; 39 40 pythonImportsCheck = [ "devpi_common" ]; 41 42 meta = with lib; { 43 homepage = "https://github.com/devpi/devpi"; 44 description = "Utilities jointly used by devpi-server and devpi-client"; 45 changelog = "https://github.com/devpi/devpi/blob/common-${version}/common/CHANGELOG"; 46 license = licenses.mit; 47 maintainers = with maintainers; [ 48 lewo 49 makefu 50 ]; 51 }; 52}