Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / robotframework-requests / default.nix
blobe1c43eb66b875f4487e33703defa3ecc6b0a05d2
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , lxml
5 , pytestCheckHook
6 , pythonOlder
7 , requests
8 , robotframework
9 }:
11 buildPythonPackage rec {
12   pname = "robotframework-requests";
13   version = "0.9.5";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "MarketSquare";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-PvhMo1r/4962nntPQb4fQxcMMXIvKjp0FdNyOA43Euc=";
23   };
25   propagatedBuildInputs = [
26     lxml
27     requests
28     robotframework
29   ];
31   buildInputs = [
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [
36     "RequestsLibrary"
37   ];
39   pytestFlagsArray = [
40     "utests"
41   ];
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   };