Merge pull request #175538 from fabaff/webtest-aiohttp-inputs
python310Packages.webtest-aiohttp: remove superflouses inputs
This commit is contained in:
commit
1f5c7db3c9
1 changed files with 23 additions and 7 deletions
|
@ -1,25 +1,41 @@
|
|||
{ buildPythonPackage, fetchFromGitHub, lib, isPy27, webtest, invoke, flake8
|
||||
, aiohttp, pytest-aiohttp, pytestCheckHook }:
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, webtest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "webtest-aiohttp";
|
||||
version = "2.0.0";
|
||||
disabled = isPy27;
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sloria";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1apr1x0wmnc6l8wv67z4dp00fiiygda6rwpxlspfk7nk9zz37q2j";
|
||||
sha256 = "sha256-UuAz/k/Tnumupv3ybFR7PkYHwG3kH7M5oobZykEP+ao=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
webtest
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aiohttp
|
||||
pytest-aiohttp
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"webtest_aiohttp"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ webtest ];
|
||||
checkInputs = [ invoke flake8 aiohttp pytest-aiohttp pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Provides integration of WebTest with aiohttp.web applications";
|
||||
homepage = "https://github.com/sloria/webtest-aiohttp";
|
||||
|
|
Loading…
Reference in a new issue