1{ buildPythonPackage 2, cryptography 3, django 4, fetchPypi 5, lib 6, poetry-core 7, pythonOlder }: 8buildPythonPackage rec { 9 pname = "django-encrypted-model-fields"; 10 version = "0.6.5"; 11 disabled = pythonOlder "3.6"; 12 format = "pyproject"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-i9IcVWXA1k7E29N1rTT+potNotuHHew/px/nteQiHJk="; 17 }; 18 19 nativeBuildInputs = [ 20 poetry-core 21 ]; 22 23 propagatedBuildInputs = [ 24 cryptography 25 django 26 ]; 27 28 pythonImportsCheck = [ "encrypted_model_fields" ]; 29 30 meta = with lib; { 31 description = "A set of fields that wrap standard Django fields with encryption provided by the python cryptography library"; 32 homepage = "https://gitlab.com/lansharkconsulting/django/django-encrypted-model-fields"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ centromere ]; 35 }; 36}