Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / deprecated / default.nix
blob09664f977a051b3caafad13dc9e51bb227794260
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , wrapt
5 , pytestCheckHook
6 , sphinxHook
7 }:
9 buildPythonPackage rec {
10   pname = "deprecated";
11   version = "1.2.14";
12   format = "setuptools";
13   outputs = [ "out" "doc" ];
15   src = fetchFromGitHub {
16     owner = "tantale";
17     repo = "deprecated";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-H5Gp2F/ChMeEH4fSYXIB34syDIzDymfN949ksJnS0k4=";
20   };
22   nativeBuildInputs = [
23     sphinxHook
24   ];
26   propagatedBuildInputs = [
27     wrapt
28   ];
30   nativeCheckInputs = [
31     pytestCheckHook
32   ];
34   pythonImportsCheck = [ "deprecated" ];
36   meta = with lib; {
37     homepage = "https://github.com/tantale/deprecated";
38     description = "Python @deprecated decorator to deprecate old python classes, functions or methods";
39     license = licenses.mit;
40     maintainers = with maintainers; [ tilpner ];
41   };