fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
51 lines
979 B
Nix
51 lines
979 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
setuptools,
|
|
setuptools-changelog-shortener,
|
|
requests,
|
|
tomli,
|
|
pytestCheckHook,
|
|
lazy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "devpi-common";
|
|
version = "4.0.3";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-+OAbT23wgPYihMzljFuxzh6GmwwjSqx60TVgl0X8Fz0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
setuptools-changelog-shortener
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
lazy
|
|
tomli
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "devpi_common" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/devpi/devpi";
|
|
description = "Utilities jointly used by devpi-server and devpi-client";
|
|
changelog = "https://github.com/devpi/devpi/blob/common-${version}/common/CHANGELOG";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [
|
|
lewo
|
|
makefu
|
|
];
|
|
};
|
|
}
|