Skip to content

Commit 51b8753

Browse files
Merge pull request #229505 from centromere/django-cryptography
2 parents f219df9 + ad694aa commit 51b8753

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

pkgs/development/python-modules/django-cryptography/default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
, django
44
, django-appconf
55
, fetchFromGitHub
6+
, fetchpatch
67
, lib
78
, python
89
, pythonOlder
@@ -32,6 +33,11 @@ buildPythonPackage rec {
3233
django-appconf
3334
];
3435

36+
patches = [
37+
# See: https://github.com/georgemarshall/django-cryptography/pull/88
38+
./fix-setup-cfg.patch
39+
];
40+
3541
pythonImportsCheck = [ "django_cryptography" ];
3642

3743
checkPhase = ''
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
diff --git a/setup.cfg b/setup.cfg
2+
index 865b4c3..577d917 100644
3+
--- a/setup.cfg
4+
+++ b/setup.cfg
5+
@@ -35,7 +35,10 @@ project_urls =
6+
Documentation = https://django-cryptography.readthedocs.io
7+
8+
[options]
9+
-packages = django_cryptography
10+
+packages =
11+
+ django_cryptography
12+
+ django_cryptography.core
13+
+ django_cryptography.utils
14+
python_requires = >=3.6
15+
include_package_data = True
16+
install_requires =

0 commit comments

Comments
 (0)