33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
40 lines
717 B
Nix
40 lines
717 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, requests
|
|
, py
|
|
, pytestCheckHook
|
|
, lazy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "devpi-common";
|
|
version = "3.7.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-Y4LSWo6sbHn239qSdQjwfZO4cyNyoGFQVVGvZbRgYfQ=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace tox.ini \
|
|
--replace "--flake8" ""
|
|
'';
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
py
|
|
lazy
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
py
|
|
pytestCheckHook
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|