1{ lib
2, fetchPypi
3, buildPythonPackage
4, wrapt
5, pytestCheckHook
6}:
7
8buildPythonPackage rec {
9 pname = "deprecated";
10 version = "1.2.13";
11
12 src = fetchPypi {
13 pname = "Deprecated";
14 inherit version;
15 sha256 = "sha256-Q6xTNdqQwxwkugKK9TapHUHVP55pAd2wIbzFcs5E440=";
16 };
17
18 propagatedBuildInputs = [
19 wrapt
20 ];
21
22 checkInputs = [
23 pytestCheckHook
24 ];
25
26 pythonImportsCheck = [ "deprecated" ];
27
28 meta = with lib; {
29 homepage = "https://github.com/tantale/deprecated";
30 description = "Python @deprecated decorator to deprecate old python classes, functions or methods";
31 license = licenses.mit;
32 maintainers = with maintainers; [ tilpner ];
33 };
34}