nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildPythonPackage,
3 cryptography,
4 django,
5 fetchPypi,
6 lib,
7 poetry-core,
8}:
9buildPythonPackage rec {
10 pname = "django-encrypted-model-fields";
11 version = "0.6.5";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-i9IcVWXA1k7E29N1rTT+potNotuHHew/px/nteQiHJk=";
17 };
18
19 nativeBuildInputs = [ poetry-core ];
20
21 propagatedBuildInputs = [
22 cryptography
23 django
24 ];
25
26 pythonImportsCheck = [ "encrypted_model_fields" ];
27
28 meta = {
29 description = "Set of fields that wrap standard Django fields with encryption provided by the python cryptography library";
30 homepage = "https://gitlab.com/lansharkconsulting/django/django-encrypted-model-fields";
31 license = lib.licenses.mit;
32 maintainers = with lib.maintainers; [ centromere ];
33 };
34}