1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 lxml,
6 pytestCheckHook,
7 pythonOlder,
8 requests,
9 robotframework,
10}:
11
12buildPythonPackage rec {
13 pname = "robotframework-requests";
14 version = "0.9.7";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchFromGitHub {
20 owner = "MarketSquare";
21 repo = "robotframework-requests";
22 tag = "v${version}";
23 hash = "sha256-NRhf3delcqUw9vWRPL6pJzpcmRMDou2pHmUHMstF8hw=";
24 };
25
26 propagatedBuildInputs = [
27 lxml
28 requests
29 robotframework
30 ];
31
32 buildInputs = [ pytestCheckHook ];
33
34 pythonImportsCheck = [ "RequestsLibrary" ];
35
36 enabledTestPaths = [ "utests" ];
37
38 meta = with lib; {
39 description = "Robot Framework keyword library wrapper around the HTTP client library requests";
40 homepage = "https://github.com/bulkan/robotframework-requests";
41 license = licenses.mit;
42 maintainers = [ ];
43 };
44}