2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2024-09-19 14:19:46 +00:00
|
|
|
lazy,
|
|
|
|
packaging-legacy,
|
|
|
|
pytestCheckHook,
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonOlder,
|
|
|
|
requests,
|
2024-09-19 14:19:46 +00:00
|
|
|
setuptools-changelog-shortener,
|
|
|
|
setuptools,
|
2024-06-05 15:53:02 +00:00
|
|
|
tomli,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "devpi-common";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "4.0.4";
|
2023-10-19 13:55:26 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-07-27 06:49:29 +00:00
|
|
|
pname = "devpi_common";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-I1oKmkXJblTGC6a6L3fYVs+Q8aacG+6UmIfp7cA6Qcw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
build-system = [
|
2023-10-19 13:55:26 +00:00
|
|
|
setuptools
|
|
|
|
setuptools-changelog-shortener
|
|
|
|
];
|
2022-12-17 10:02:37 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
dependencies = [
|
2020-06-15 15:56:04 +00:00
|
|
|
lazy
|
2024-09-19 14:19:46 +00:00
|
|
|
packaging-legacy
|
|
|
|
requests
|
2024-01-25 14:12:00 +00:00
|
|
|
tomli
|
2020-06-15 15:56:04 +00:00
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "devpi_common" ];
|
2023-10-19 13:55:26 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/devpi/devpi";
|
|
|
|
description = "Utilities jointly used by devpi-server and devpi-client";
|
2023-10-19 13:55:26 +00:00
|
|
|
changelog = "https://github.com/devpi/devpi/blob/common-${version}/common/CHANGELOG";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
2024-06-05 15:53:02 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
lewo
|
|
|
|
makefu
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|