depot/third_party/nixpkgs/pkgs/development/python-modules/robotframework-requests/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

49 lines
917 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, lxml
, pytestCheckHook
, pythonOlder
, requests
, robotframework
}:
buildPythonPackage rec {
pname = "robotframework-requests";
version = "0.9.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "MarketSquare";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-PvhMo1r/4962nntPQb4fQxcMMXIvKjp0FdNyOA43Euc=";
};
propagatedBuildInputs = [
lxml
requests
robotframework
];
buildInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"RequestsLibrary"
];
pytestFlagsArray = [
"utests"
];
meta = with lib; {
description = "Robot Framework keyword library wrapper around the HTTP client library requests";
homepage = "https://github.com/bulkan/robotframework-requests";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}