about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/types-deprecated/default.nix
blob: 374ed108b7a27b9f75cdd5a375258557944b0800 (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
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
}:

buildPythonPackage rec {
  pname = "types-deprecated";
  version = "1.2.9.20240311";
  pyproject = true;

  src = fetchPypi {
    pname = "types-Deprecated";
    inherit version;
    hash = "sha256-BoDomYmoFCcH3oED8V0YJEWlM8EEf9m36MVFkQHpuQo=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  # Modules has no tests
  doCheck = false;

  pythonImportsCheck = [
    "deprecated-stubs"
  ];

  meta = with lib; {
    description = "Typing stubs for Deprecated";
    homepage = "https://pypi.org/project/types-Deprecated/";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ fab ];
  };
}