python3Packages.requests-file: add pythonImportsCheck

This commit is contained in:
Fabian Affolter
2022-01-12 16:20:22 +01:00
parent b7722510c4
commit f6e92bd1fb
@@ -1,22 +1,38 @@
{ lib, fetchPypi, buildPythonPackage, pytestCheckHook, requests, six }:
{ lib
, fetchPypi
, buildPythonPackage
, pytestCheckHook
, requests
, six
}:
buildPythonPackage rec {
pname = "requests-file";
pname = "requests-file";
version = "1.5.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e";
hash = "sha256-B9dCCNM4nQHDirie9AOvDP7GOVfVOgCB2OynONAkfY4=";
};
propagatedBuildInputs = [ requests six ];
propagatedBuildInputs = [
requests
six
];
checkInputs = [ pytestCheckHook ];
checkInputs = [
pytestCheckHook
];
meta = {
homepage = "https://github.com/dashea/requests-file";
pythonImportsCheck = [
"requests_file"
];
meta = with lib; {
description = "Transport adapter for fetching file:// URLs with the requests python library";
license = lib.licenses.asl20;
homepage = "https://github.com/dashea/requests-file";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}