2020-06-20 17:42:45 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pytestCheckHook, requests, six }:
|
2018-09-11 22:51:25 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "requests-file";
|
2020-06-06 07:47:30 +01:00
|
|
|
version = "1.5.1";
|
2018-09-11 22:51:25 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-06 07:47:30 +01:00
|
|
|
sha256 = "07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e";
|
2018-09-11 22:51:25 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests six ];
|
|
|
|
|
2020-06-20 17:42:45 +01:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
|
2018-09-11 22:51:25 +01:00
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/dashea/requests-file";
|
2018-09-11 22:51:25 +01:00
|
|
|
description = "Transport adapter for fetching file:// URLs with the requests python library";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|