depot/third_party/nixpkgs/pkgs/development/python-modules/requests-file/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

43 lines
777 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, setuptools
, setuptools-scm
, pytestCheckHook
, requests
}:
buildPythonPackage rec {
pname = "requests-file";
version = "2.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-IMWTFinFWP2lZsrMEM/izVAkM+Yo9WjDTIDZagzJWXI=";
};
build-system = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [
requests
];
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; [ ];
};
}