2022-04-30 20:43:12 +00:00
|
|
|
{ stdenv, lib, python3Packages, fetchzip }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
|
|
pname = "uffd";
|
2023-06-06 00:04:11 +00:00
|
|
|
version = "2.2.0";
|
|
|
|
PACKAGE_VERSION = version;
|
2022-04-30 20:43:12 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
2022-07-20 16:30:47 +00:00
|
|
|
url = "https://git.cccv.de/uffd/uffd/-/archive/v${version}/uffd-v${version}.tar.gz";
|
2023-06-06 00:04:11 +00:00
|
|
|
hash = "sha256-Bt0Q+4B2tbJmjnVQ4XZqEwDlXfd10QBo1AaK3EmZ5RY=";
|
2022-04-30 20:43:12 +00:00
|
|
|
};
|
|
|
|
|
2023-06-06 00:04:11 +00:00
|
|
|
patches = [
|
|
|
|
./fix-userinfo.patch
|
|
|
|
];
|
2022-04-30 20:43:12 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
flask
|
|
|
|
flask_sqlalchemy
|
|
|
|
flask_migrate
|
|
|
|
qrcode
|
|
|
|
fido2
|
|
|
|
oauthlib
|
|
|
|
flask-babel
|
|
|
|
argon2_cffi
|
|
|
|
itsdangerous
|
|
|
|
alembic
|
|
|
|
Mako
|
2023-06-06 00:04:11 +00:00
|
|
|
urllib3
|
|
|
|
pyasn1
|
|
|
|
certifi
|
|
|
|
idna
|
|
|
|
chardet
|
|
|
|
requests-oauthlib
|
|
|
|
prometheus-client
|
2022-04-30 20:43:12 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i -e 's/==[0-9.]\+//g' setup.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
doInstallCheck = false;
|
|
|
|
}
|