depot/third_party/nixpkgs/pkgs/development/python-modules/requests-file/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

38 lines
707 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, pytestCheckHook
, requests
, six
}:
buildPythonPackage rec {
pname = "requests-file";
version = "1.5.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-B9dCCNM4nQHDirie9AOvDP7GOVfVOgCB2OynONAkfY4=";
};
propagatedBuildInputs = [
requests
six
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"requests_file"
];
meta = with lib; {
description = "Transport adapter for fetching file:// URLs with the requests python library";
homepage = "https://github.com/dashea/requests-file";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}