14 buildPythonPackage rec {
18 disabled = pythonOlder "3.7";
23 inherit pname version;
24 hash = "sha256-pLRhudoLUxrry5PvzePegIpyxgIm3Y2QLEZ9E/r3zpI=";
28 # https://github.com/ionelmc/python-aspectlib/pull/25
30 name = "darwin-compat.patch";
31 url = "https://github.com/ionelmc/python-aspectlib/commit/ef2c12304f08723dc8e79d1c59bc32c946d758dc.patch";
32 hash = "sha256-gtPFtwDsGIMkHTyuoiLk+SAGgB2Wyx/Si9HIdoIsvI8=";
36 nativeBuildInputs = [ setuptools ];
38 propagatedBuildInputs = [ fields ];
40 pythonImportsCheck = [
53 pytestFlagsArray = [ "-W ignore::DeprecationWarning" ];
55 __darwinAllowLocalNetworking = true;
58 changelog = "https://github.com/ionelmc/python-aspectlib/blob/v${version}/CHANGELOG.rst";
59 description = "Aspect-oriented programming, monkey-patch and decorators library";
60 homepage = "https://github.com/ionelmc/python-aspectlib";
61 license = lib.licenses.bsd2;
62 maintainers = with lib.maintainers; [ dotlambda ];