b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
47 lines
943 B
Nix
47 lines
943 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, pythonOlder
|
|
, setuptools
|
|
, setuptools-changelog-shortener
|
|
, requests
|
|
, pytestCheckHook
|
|
, lazy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "devpi-common";
|
|
version = "4.0.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-LSd3AfrwXUpvbL234ED5PAoAKG2+h9XAou6uuiBVkZw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
setuptools-changelog-shortener
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
lazy
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|