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:
commit
78824fec1d
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue