1{
2 buildPythonPackage,
3 fetchPypi,
4 lib,
5 hatch-requirements-txt,
6 deprecation,
7 packaging,
8}:
9buildPythonPackage rec {
10 pname = "deprecation-alias";
11 version = "0.4.0";
12 pyproject = true;
13
14 src = fetchPypi {
15 pname = "deprecation_alias";
16 inherit version;
17 hash = "sha256-pY0udEkceDTp0xh4jaYCcvovga64FLQFWkupCgpBdA8=";
18 };
19
20 build-system = [ hatch-requirements-txt ];
21
22 dependencies = [
23 deprecation
24 packaging
25 ];
26
27 meta = {
28 description = "Wrapper around ‘deprecation’ providing support for deprecated aliases";
29 homepage = "https://github.com/domdfcoding/deprecation-alias";
30 license = lib.licenses.mit;
31 maintainers = with lib.maintainers; [ tyberius-prime ];
32 };
33}