python3Packages.django-cryptography: include missing source files

This commit is contained in:
Alex Wied 2023-05-02 13:27:07 -04:00
parent 12ba1a5f90
commit ad694aaf66
2 changed files with 22 additions and 0 deletions

View file

@ -3,6 +3,7 @@
, django
, django-appconf
, fetchFromGitHub
, fetchpatch
, lib
, python
, pythonOlder
@ -32,6 +33,11 @@ buildPythonPackage rec {
django-appconf
];
patches = [
# See: https://github.com/georgemarshall/django-cryptography/pull/88
./fix-setup-cfg.patch
];
pythonImportsCheck = [ "django_cryptography" ];
checkPhase = ''

View file

@ -0,0 +1,16 @@
diff --git a/setup.cfg b/setup.cfg
index 865b4c3..577d917 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -35,7 +35,10 @@ project_urls =
Documentation = https://django-cryptography.readthedocs.io
[options]
-packages = django_cryptography
+packages =
+ django_cryptography
+ django_cryptography.core
+ django_cryptography.utils
python_requires = >=3.6
include_package_data = True
install_requires =