2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage,
|
|
|
|
wrapt, pytest, tox }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "Deprecated";
|
2020-05-15 21:57:56 +00:00
|
|
|
version = "1.2.9";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-15 21:57:56 +00:00
|
|
|
sha256 = "1k7c5kkh8jxxqdm0cbcvmhn3mwj0rcjwapwbzmm5r04n78lpvwqc";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ wrapt ];
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|