1{
2 buildPythonPackage,
3 cryptography,
4 django,
5 fetchPypi,
6 lib,
7 poetry-core,
8 pythonOlder,
9}:
10buildPythonPackage rec {
11 pname = "django-encrypted-model-fields";
12 version = "0.6.5";
13 disabled = pythonOlder "3.6";
14 format = "pyproject";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-i9IcVWXA1k7E29N1rTT+potNotuHHew/px/nteQiHJk=";
19 };
20
21 nativeBuildInputs = [ poetry-core ];
22
23 propagatedBuildInputs = [
24 cryptography
25 django
26 ];
27
28 pythonImportsCheck = [ "encrypted_model_fields" ];
29
30 meta = with lib; {
31 description = "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}