mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-13 23:06:35 +01:00
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.
34 lines
800 B
Nix
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 ];
|
|
};
|
|
}
|