1{ stdenv, fetchPypi, buildPythonPackage,
2 wrapt, pytest, tox }:
3
4buildPythonPackage rec {
5 pname = "Deprecated";
6 version = "1.2.10";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "0x3zkmykcyjn8k57g8lcf89fxw8q7hvvcj6xkwb0f2zrnmpscnsj";
11 };
12
13 propagatedBuildInputs = [ wrapt ];
14 checkInputs = [ pytest ];
15 meta = with stdenv.lib; {
16 homepage = "https://github.com/tantale/deprecated";
17 description = "Python @deprecated decorator to deprecate old python classes, functions or methods";
18 platforms = platforms.all;
19 license = licenses.mit;
20 maintainers = with maintainers; [ tilpner ];
21 };
22}