nixpkgs/pkgs/development/python-modules/types-decorator/default.nix
2023-07-22 22:35:51 +02:00

30 lines
573 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "types-decorator";
version = "5.1.8.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-qMOQJGNOmYNL7xRs7C42xYX0eISt303GXW0Lex9idRc=";
};
# 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 ];
};
}