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

30 lines
573 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "types-decorator";
version = "5.1.7";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-srf0f9AcoY+JyMAmSDnZLl95oezAes5Hu5AO/XzQL1k=";
};
# 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 ];
};
}