nixpkgs/pkgs/development/python-modules/django-encrypted-model-fields/default.nix
Michael Daniels 075e8c2c4f
treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

34 lines
800 B
Nix

{
buildPythonPackage,
cryptography,
django,
fetchPypi,
lib,
poetry-core,
}:
buildPythonPackage rec {
pname = "django-encrypted-model-fields";
version = "0.6.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-i9IcVWXA1k7E29N1rTT+potNotuHHew/px/nteQiHJk=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
cryptography
django
];
pythonImportsCheck = [ "encrypted_model_fields" ];
meta = {
description = "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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ centromere ];
};
}