python3Packages.privacyidea: fix eval with python3

While `privacyidea-ldap-proxy` only works on `python2`[1], `privacyidea`
itself works fine with `python3`, however it needs version one of
`pyjwt`[2], so I had to add `pyjwt1` which was already packaged for
`python2`[3] to the `python3` package-set. I think that's fine though
since `python2` should be only used when actually needed which isn't the
case here.

Closes #122250

[1] https://github.com/privacyidea/privacyidea-ldap-proxy/issues/50
[2] https://github.com/privacyidea/privacyidea/issues/2629
[3] bf9b6b1ef3
This commit is contained in:
Maximilian Bosch
2021-05-09 16:19:35 +02:00
parent aff091d3da
commit 5b29b74b71
3 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -383,7 +383,7 @@ with self; with super; {
prettytable = callPackage ../development/python-modules/prettytable/1.nix { };
privacyidea = callPackage ../development/python-modules/privacyidea { };
privacyidea-ldap-proxy = callPackage ../development/python-modules/privacyidea/ldap-proxy.nix { };
progressbar231 = callPackage ../development/python-modules/progressbar231 { };