nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 54 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 lazy, 6 packaging-legacy, 7 pytestCheckHook, 8 requests, 9 setuptools-changelog-shortener, 10 setuptools, 11 tomli, 12 nix-update-script, 13}: 14 15buildPythonPackage rec { 16 pname = "devpi-common"; 17 version = "4.1.0"; 18 pyproject = true; 19 20 src = fetchPypi { 21 pname = "devpi-common"; 22 inherit version; 23 hash = "sha256-WNf3YeP+f9/kScSmqeI1DU3fvrZssPbSCAJRQpQwMNM="; 24 }; 25 26 build-system = [ 27 setuptools 28 setuptools-changelog-shortener 29 ]; 30 31 dependencies = [ 32 lazy 33 packaging-legacy 34 requests 35 tomli 36 ]; 37 38 nativeCheckInputs = [ pytestCheckHook ]; 39 40 pythonImportsCheck = [ "devpi_common" ]; 41 42 passthru.updateScript = nix-update-script { }; 43 44 meta = { 45 homepage = "https://github.com/devpi/devpi"; 46 description = "Utilities jointly used by devpi-server and devpi-client"; 47 changelog = "https://github.com/devpi/devpi/blob/common-${version}/common/CHANGELOG"; 48 license = lib.licenses.mit; 49 maintainers = with lib.maintainers; [ 50 lewo 51 makefu 52 ]; 53 }; 54}