2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchPypi, buildPythonPackage,
|
2019-07-22 12:38:34 +01:00
|
|
|
wrapt, pytest, tox }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Deprecated";
|
2020-05-23 09:02:37 +01:00
|
|
|
version = "1.2.10";
|
2019-07-22 12:38:34 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-23 09:02:37 +01:00
|
|
|
sha256 = "0x3zkmykcyjn8k57g8lcf89fxw8q7hvvcj6xkwb0f2zrnmpscnsj";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|