nixpkgs/pkgs/development/python-modules/types-requests/default.nix
2023-09-27 10:32:44 +02:00

35 lines
638 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, types-urllib3
}:
buildPythonPackage rec {
pname = "types-requests";
version = "2.31.0.6";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-zXTOO1PEYfEiipt4OSmsc6ZmZY8iPijtKXU3cUd7O9A=";
};
propagatedBuildInputs = [
types-urllib3
];
# Module doesn't have tests
doCheck = false;
pythonImportsCheck = [
"requests-stubs"
];
meta = with lib; {
description = "Typing stubs for requests";
homepage = "https://github.com/python/typeshed";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}