blob: 294c3c76d872bf2eb482b222a34ff41ba8d50918 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ 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; [ ];
};
}
|