37 lines
666 B
Nix
37 lines
666 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, cryptography
|
|
, types-pyopenssl
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "types-redis";
|
|
version = "4.6.0.7";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-KMQVPdtcnU8Q3vRKJFRnPDYdLV/DzYZ887sVIPP1mjg=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|