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