diff --git a/pkgs/development/python-modules/requests-file/default.nix b/pkgs/development/python-modules/requests-file/default.nix new file mode 100644 index 000000000000..fac222176519 --- /dev/null +++ b/pkgs/development/python-modules/requests-file/default.nix @@ -0,0 +1,20 @@ +{ lib, fetchPypi, buildPythonPackage, requests, six }: + +buildPythonPackage rec { + pname = "requests-file"; + version = "1.4.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "1yp2jaxg3v86pia0q512dg3hz6s9y5vzdivsgrba1kds05ial14g"; + }; + + propagatedBuildInputs = [ requests six ]; + + meta = { + homepage = https://github.com/dashea/requests-file; + description = "Transport adapter for fetching file:// URLs with the requests python library"; + license = lib.licenses.asl20; + }; + +}