b5f92a349c
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
46 lines
906 B
Nix
46 lines
906 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, setuptools
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zope-deprecation";
|
|
version = "5.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "zope.deprecation";
|
|
inherit version;
|
|
hash = "sha256-t8MtM5IDayFFxAsxA+cyLbaGYqsJtyZ6/hUyqdk/ZA8=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pytestFlagsArray = [
|
|
"src/zope/deprecation/tests.py"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"zope.deprecation"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/zopefoundation/zope.deprecation";
|
|
description = "Zope Deprecation Infrastructure";
|
|
changelog = "https://github.com/zopefoundation/zope.deprecation/blob/${version}/CHANGES.rst";
|
|
license = licenses.zpl21;
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
};
|
|
|
|
}
|