emacsPackages.lsp-bridge: 0-unstable-2025-01-11 -> 0-unstable-2025-01-22 (#376531)
[NixPkgs.git] / pkgs / development / python-modules / requests-file / default.nix
blobce95150ae8f474952e5c3943170514ba36451953
2   lib,
3   fetchFromGitHub,
4   buildPythonPackage,
5   setuptools,
6   setuptools-scm,
7   pytestCheckHook,
8   pythonOlder,
9   requests,
12 buildPythonPackage rec {
13   pname = "requests-file";
14   version = "2.1.0";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchFromGitHub {
20     owner = "dashea";
21     repo = "requests-file";
22     tag = version;
23     hash = "sha256-JtdtE44yiw2mLMZ0bJv0QiGWb7f8ywPLF7+BUufh/g4=";
24   };
26   build-system = [
27     setuptools
28     setuptools-scm
29   ];
31   dependencies = [ requests ];
33   nativeCheckInputs = [ pytestCheckHook ];
35   pythonImportsCheck = [ "requests_file" ];
37   meta = with lib; {
38     description = "Transport adapter for fetching file:// URLs with the requests python library";
39     homepage = "https://github.com/dashea/requests-file";
40     changelog = "https://github.com/dashea/requests-file/blob/${version}/CHANGES.rst";
41     license = licenses.asl20;
42     maintainers = [ ];
43   };