1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 setuptools, 6 setuptools-scm, 7 pytestCheckHook, 8 requests, 9}: 10 11buildPythonPackage rec { 12 pname = "requests-file"; 13 version = "2.0.0"; 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-IMWTFinFWP2lZsrMEM/izVAkM+Yo9WjDTIDZagzJWXI="; 19 }; 20 21 build-system = [ 22 setuptools 23 setuptools-scm 24 ]; 25 26 propagatedBuildInputs = [ requests ]; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 pythonImportsCheck = [ "requests_file" ]; 31 32 meta = with lib; { 33 description = "Transport adapter for fetching file:// URLs with the requests python library"; 34 homepage = "https://github.com/dashea/requests-file"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ ]; 37 }; 38}