depot/third_party/nixpkgs/pkgs/development/python-modules/deprecated/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

34 lines
681 B
Nix

{ lib
, fetchPypi
, buildPythonPackage
, wrapt
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "deprecated";
version = "1.2.13";
src = fetchPypi {
pname = "Deprecated";
inherit version;
hash = "sha256-Q6xTNdqQwxwkugKK9TapHUHVP55pAd2wIbzFcs5E440=";
};
propagatedBuildInputs = [
wrapt
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "deprecated" ];
meta = with lib; {
homepage = "https://github.com/tantale/deprecated";
description = "Python @deprecated decorator to deprecate old python classes, functions or methods";
license = licenses.mit;
maintainers = with maintainers; [ tilpner ];
};
}