13 buildPythonPackage rec {
14 pname = "django-cryptography";
16 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
20 owner = "georgemarshall";
21 repo = "django-cryptography";
22 rev = "refs/tags/${version}";
23 hash = "sha256-C3E2iT9JdLvF+1g+xhZ8dPDjjh25JUxLAtTMnalIxPk=";
26 nativeBuildInputs = [ setuptools ];
28 propagatedBuildInputs = [
35 # See: https://github.com/georgemarshall/django-cryptography/pull/88
39 pythonImportsCheck = [ "django_cryptography" ];
43 ${python.interpreter} ./runtests.py
48 homepage = "https://github.com/georgemarshall/django-cryptography";
49 description = "Set of primitives for performing cryptography in Django";
50 license = licenses.bsd3;
51 maintainers = with maintainers; [ centromere ];