2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage,
|
2021-01-19 21:20:11 +00:00
|
|
|
wrapt, pytest, tox }:
|
2019-07-22 12:38:34 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Deprecated";
|
2021-01-31 05:04:11 +00:00
|
|
|
version = "1.2.11";
|
2019-07-22 12:38:34 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-31 05:04:11 +00:00
|
|
|
sha256 = "471ec32b2755172046e28102cd46c481f21c6036a0ec027521eba8521aa4ef35";
|
2019-07-22 12:38:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ wrapt ];
|
|
|
|
checkInputs = [ pytest ];
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-07-22 12:38:34 +01:00
|
|
|
homepage = "https://github.com/tantale/deprecated";
|
|
|
|
description = "Python @deprecated decorator to deprecate old python classes, functions or methods";
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ tilpner ];
|
|
|
|
};
|
|
|
|
}
|