30 lines
575 B
Nix
30 lines
575 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "types-decorator";
|
|
version = "5.1.8.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-+SkMviPSZ0uxii2V9ZPCdUdGPtRZ4OYEgAxCCZw8akQ=";
|
|
};
|
|
|
|
# Modules doesn't have tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"decorator-stubs"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Typing stubs for decorator";
|
|
homepage = "https://github.com/python/typeshed";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|