2019-10-07 21:37:17 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
2023-10-13 22:40:44 +09:00
|
|
|
pythonOlder,
|
2023-10-13 22:37:38 +09:00
|
|
|
setuptools,
|
2023-10-13 22:40:44 +09:00
|
|
|
setuptools-changelog-shortener,
|
2019-10-07 21:37:17 +02:00
|
|
|
requests,
|
2024-01-14 06:54:59 +01:00
|
|
|
tomli,
|
2022-11-27 19:20:28 -08:00
|
|
|
pytestCheckHook,
|
2020-06-11 11:49:12 +02:00
|
|
|
lazy,
|
2019-10-07 21:37:17 +02:00
|
|
|
}:
|
2017-10-04 14:38:44 +02:00
|
|
|
|
2018-06-23 15:27:58 +02:00
|
|
|
buildPythonPackage rec {
|
2017-10-04 14:38:44 +02:00
|
|
|
pname = "devpi-common";
|
2024-06-19 05:05:18 +02:00
|
|
|
version = "4.0.4";
|
2023-10-13 22:37:38 +09:00
|
|
|
pyproject = true;
|
2017-10-04 14:38:44 +02:00
|
|
|
|
2023-10-13 22:40:44 +09:00
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
2017-10-04 14:38:44 +02:00
|
|
|
src = fetchPypi {
|
2024-06-19 05:05:18 +02:00
|
|
|
pname = "devpi_common";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-I1oKmkXJblTGC6a6L3fYVs+Q8aacG+6UmIfp7cA6Qcw=";
|
2017-10-04 14:38:44 +02:00
|
|
|
};
|
|
|
|
|
2023-10-13 22:37:38 +09:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
2023-10-13 22:40:44 +09:00
|
|
|
setuptools-changelog-shortener
|
2023-10-13 22:37:38 +09:00
|
|
|
];
|
2022-11-27 19:20:28 -08:00
|
|
|
|
2020-06-11 11:49:12 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
lazy
|
2024-01-14 06:54:59 +01:00
|
|
|
tomli
|
2020-06-11 11:49:12 +02:00
|
|
|
];
|
2017-10-04 14:38:44 +02:00
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2017-10-04 14:38:44 +02:00
|
|
|
|
2023-10-13 22:37:38 +09:00
|
|
|
pythonImportsCheck = [ "devpi_common" ];
|
|
|
|
|
2018-06-23 15:27:58 +02:00
|
|
|
meta = with lib; {
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://github.com/devpi/devpi";
|
2017-10-04 14:38:44 +02:00
|
|
|
description = "Utilities jointly used by devpi-server and devpi-client";
|
2023-10-13 22:37:38 +09:00
|
|
|
changelog = "https://github.com/devpi/devpi/blob/common-${version}/common/CHANGELOG";
|
2017-10-04 14:38:44 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [
|
|
|
|
lewo
|
|
|
|
makefu
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|