nixpkgs/pkgs/development/python-modules/types-redis/default.nix

39 lines
708 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
cryptography,
types-pyopenssl,
setuptools,
}:
buildPythonPackage rec {
pname = "types-redis";
version = "4.6.0.20240425";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-lAKhDukx0kH9/MBFkuv3pmHXu5Ko3qYxJ58NisvPOiI=";
};
build-system = [ setuptools ];
dependencies = [
cryptography
types-pyopenssl
];
# Module doesn't have tests
doCheck = false;
pythonImportsCheck = [ "redis-stubs" ];
meta = with lib; {
description = "Typing stubs for redis";
homepage = "https://github.com/python/typeshed";
license = licenses.asl20;
maintainers = with maintainers; [ gador ];
};
}