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-03-14 22:56:29 +00:00
|
|
|
version = "1.2.12";
|
2019-07-22 12:38:34 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-14 22:56:29 +00:00
|
|
|
sha256 = "6d2de2de7931a968874481ef30208fd4e08da39177d61d3d4ebdf4366e7dbca1";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|