a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
38 lines
704 B
Nix
38 lines
704 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, requests
|
|
, py
|
|
, pytestCheckHook
|
|
, lazy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "devpi-common";
|
|
version = "3.7.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-O015TOlvFcN7hxwV4SgGmo6vanMuWb+i9KZOYhYZLJM=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace tox.ini \
|
|
--replace "--flake8" ""
|
|
'';
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
py
|
|
lazy
|
|
];
|
|
|
|
checkInputs = [
|
|
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 ];
|
|
};
|
|
}
|