1{ lib, fetchPypi, buildPythonPackage, pytestCheckHook, requests, six }: 2 3buildPythonPackage rec { 4 pname = "requests-file"; 5 version = "1.5.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e"; 10 }; 11 12 propagatedBuildInputs = [ requests six ]; 13 14 checkInputs = [ pytestCheckHook ]; 15 16 meta = { 17 homepage = "https://github.com/dashea/requests-file"; 18 description = "Transport adapter for fetching file:// URLs with the requests python library"; 19 license = lib.licenses.asl20; 20 }; 21 22}