depot/third_party/nixpkgs/pkgs/development/python-modules/devpi-common/default.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

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 ];
};
}