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

30 lines
586 B
Nix

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