Merge pull request #137268 from fabaff/bump-deprecated
This commit is contained in:
commit
734260b7ce
1 changed files with 21 additions and 8 deletions
|
@ -1,20 +1,33 @@
|
|||
{ lib, fetchPypi, buildPythonPackage, wrapt, pytest }:
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, wrapt
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Deprecated";
|
||||
version = "1.2.12";
|
||||
pname = "deprecated";
|
||||
version = "1.2.13";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6d2de2de7931a968874481ef30208fd4e08da39177d61d3d4ebdf4366e7dbca1";
|
||||
pname = "Deprecated";
|
||||
inherit version;
|
||||
sha256 = "sha256-Q6xTNdqQwxwkugKK9TapHUHVP55pAd2wIbzFcs5E440=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ wrapt ];
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [
|
||||
wrapt
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "deprecated" ];
|
||||
|
||||
meta = with 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 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue