Merge pull request #187149 from centromere/django-encrypted-model-fields

pythonPackage.django-encrypted-model-fields: init at 0.6.5
This commit is contained in:
Jonas Heinrich 2022-08-20 16:02:03 +02:00 committed by GitHub
commit 78824fec1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ buildPythonPackage
, cryptography
, django
, fetchPypi
, lib
, poetry-core
, pythonOlder }:
buildPythonPackage rec {
pname = "django-encrypted-model-fields";
version = "0.6.5";
disabled = pythonOlder "3.6";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-i9IcVWXA1k7E29N1rTT+potNotuHHew/px/nteQiHJk=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
cryptography
django
];
pythonImportsCheck = [ "encrypted_model_fields" ];
meta = with lib; {
description = "A set of fields that wrap standard Django fields with encryption provided by the python cryptography library";
homepage = "https://gitlab.com/lansharkconsulting/django/django-encrypted-model-fields";
license = licenses.mit;
maintainers = with maintainers; [ centromere ];
};
}

View file

@ -2480,6 +2480,8 @@ in {
django-dynamic-preferences = callPackage ../development/python-modules/django-dynamic-preferences { };
django-encrypted-model-fields = callPackage ../development/python-modules/django-encrypted-model-fields { };
django-environ = callPackage ../development/python-modules/django_environ { };
django-extensions = callPackage ../development/python-modules/django-extensions { };