2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2023-10-19 13:55:26 +00:00
|
|
|
, pythonOlder
|
|
|
|
, setuptools
|
|
|
|
, setuptools-changelog-shortener
|
2020-04-24 23:36:52 +00:00
|
|
|
, requests
|
2024-01-25 14:12:00 +00:00
|
|
|
, tomli
|
2022-12-17 10:02:37 +00:00
|
|
|
, pytestCheckHook
|
2020-06-15 15:56:04 +00:00
|
|
|
, lazy
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "devpi-common";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "4.0.3";
|
2023-10-19 13:55:26 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-+OAbT23wgPYihMzljFuxzh6GmwwjSqx60TVgl0X8Fz0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
setuptools-changelog-shortener
|
|
|
|
];
|
2022-12-17 10:02:37 +00:00
|
|
|
|
2020-06-15 15:56:04 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
lazy
|
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
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-12-17 10:02:37 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"devpi_common"
|
|
|
|
];
|
|
|
|
|
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;
|
|
|
|
maintainers = with maintainers; [ lewo makefu ];
|
|
|
|
};
|
|
|
|
}
|