2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage,
|
|
|
|
wrapt, pytest, tox }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Deprecated";
|
2021-03-19 17:17:44 +00:00
|
|
|
version = "1.2.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-19 17:17:44 +00:00
|
|
|
sha256 = "6d2de2de7931a968874481ef30208fd4e08da39177d61d3d4ebdf4366e7dbca1";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ wrapt ];
|
|
|
|
checkInputs = [ pytest ];
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|