2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, requests
|
|
|
|
, py
|
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";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "3.7.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-Y4LSWo6sbHn239qSdQjwfZO4cyNyoGFQVVGvZbRgYfQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace tox.ini \
|
|
|
|
--replace "--flake8" ""
|
|
|
|
'';
|
|
|
|
|
2020-06-15 15:56:04 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
py
|
|
|
|
lazy
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
checkInputs = [
|
2023-01-20 10:41:00 +00:00
|
|
|
py
|
2022-12-17 10:02:37 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
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";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lewo makefu ];
|
|
|
|
};
|
|
|
|
}
|