37 lines
666 B
Nix
37 lines
666 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, cryptography
|
|
, types-pyopenssl
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "types-redis";
|
|
version = "4.5.5.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-L+gvN02d3fAH3q8j2B/dz9lSPZUivxFSPFxDvFsnCZ4=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
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 ];
|
|
};
|
|
}
|