blob: ed2cf8a0117105b7877a3ff85817b293629f0e25 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ lib
, fetchFromGitHub
, buildPythonPackage
, wrapt
, pytestCheckHook
, sphinxHook
}:
buildPythonPackage rec {
pname = "deprecated";
version = "1.2.14";
outputs = [ "out" "doc" ];
src = fetchFromGitHub {
owner = "tantale";
repo = "deprecated";
rev = "refs/tags/v${version}";
hash = "sha256-H5Gp2F/ChMeEH4fSYXIB34syDIzDymfN949ksJnS0k4=";
};
nativeBuildInputs = [
sphinxHook
];
propagatedBuildInputs = [
wrapt
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "deprecated" ];
meta = with lib; {
homepage = "https://github.com/tantale/deprecated";
description = "Python @deprecated decorator to deprecate old python classes, functions or methods";
license = licenses.mit;
maintainers = with maintainers; [ tilpner ];
};
}
|