summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/deprecation-alias/default.nix
blob: 8ac56ae5664c5456b6a2a49f0f045b440b0e8555 (plain)
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
{
  buildPythonPackage,
  fetchPypi,
  lib,
  hatch-requirements-txt,
  deprecation,
  packaging,
}:
buildPythonPackage rec {
  pname = "deprecation-alias";
  version = "0.4.0";
  pyproject = true;

  src = fetchPypi {
    pname = "deprecation_alias";
    inherit version;
    hash = "sha256-pY0udEkceDTp0xh4jaYCcvovga64FLQFWkupCgpBdA8=";
  };

  build-system = [ hatch-requirements-txt ];

  dependencies = [
    deprecation
    packaging
  ];

  meta = {
    description = "Wrapper around ‘deprecation’ providing support for deprecated aliases";
    homepage = "https://github.com/domdfcoding/deprecation-alias";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ tyberius-prime ];
  };
}