privacyIDEA: 3.3 -> 3.5.1
ChangeLog: https://github.com/privacyidea/privacyidea/blob/v3.5.1/Changelog
This commit is contained in:
parent
eb4c782a6f
commit
61cd842704
@ -1,22 +1,24 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub, cacert, openssl, python
|
{ lib, buildPythonPackage, fetchFromGitHub, cacert, openssl, python, nixosTests
|
||||||
|
|
||||||
, cryptography, pyrad, pymysql, python-dateutil, flask-versioned, flask_script
|
, cryptography, pyrad, pymysql, python-dateutil, flask-versioned, flask_script
|
||||||
, defusedxml, croniter, flask_migrate, pyjwt, configobj, sqlsoup, pillow
|
, defusedxml, croniter, flask_migrate, pyjwt, configobj, sqlsoup, pillow
|
||||||
, python-gnupg, passlib, pyopenssl, beautifulsoup4, smpplib, flask-babel
|
, python-gnupg, passlib, pyopenssl, beautifulsoup4, smpplib, flask-babel
|
||||||
, ldap3, huey, pyyaml, qrcode, oauth2client, requests, lxml, cbor2, psycopg2
|
, ldap3, huey, pyyaml, qrcode, oauth2client, requests, lxml, cbor2, psycopg2
|
||||||
|
, pydash
|
||||||
|
|
||||||
, mock, pytest, responses, testfixtures
|
, mock, pytestCheckHook, responses, testfixtures
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "privacyIDEA";
|
pname = "privacyIDEA";
|
||||||
version = "3.3";
|
version = "3.5.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "188ki924dig899wlih45xfsm0s7mjkya56vii26bg02h91izrb4b";
|
sha256 = "sha256-XJnrrpU0x2Axu7W4G3oDTjSJuqEyh3C/0Aga5D0gw9k=";
|
||||||
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -24,11 +26,24 @@ buildPythonPackage rec {
|
|||||||
defusedxml croniter flask_migrate pyjwt configobj sqlsoup pillow
|
defusedxml croniter flask_migrate pyjwt configobj sqlsoup pillow
|
||||||
python-gnupg passlib pyopenssl beautifulsoup4 smpplib flask-babel
|
python-gnupg passlib pyopenssl beautifulsoup4 smpplib flask-babel
|
||||||
ldap3 huey pyyaml qrcode oauth2client requests lxml cbor2 psycopg2
|
ldap3 huey pyyaml qrcode oauth2client requests lxml cbor2 psycopg2
|
||||||
|
pydash
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [ openssl mock pytest responses testfixtures ];
|
passthru.tests = { inherit (nixosTests) privacyidea; };
|
||||||
# issues with hardware token tests
|
|
||||||
doCheck = false;
|
checkInputs = [ openssl mock pytestCheckHook responses testfixtures ];
|
||||||
|
disabledTests = [
|
||||||
|
"AESHardwareSecurityModuleTestCase"
|
||||||
|
"test_01_cert_request"
|
||||||
|
"test_01_loading_scripts"
|
||||||
|
"test_02_cert_enrolled"
|
||||||
|
"test_02_enroll_rights"
|
||||||
|
"test_02_get_resolvers"
|
||||||
|
"test_02_success"
|
||||||
|
"test_03_get_identifiers"
|
||||||
|
"test_04_remote_user_auth"
|
||||||
|
"test_14_convert_timestamp_to_utc"
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "privacyidea" ];
|
pythonImportsCheck = [ "privacyidea" ];
|
||||||
|
|
||||||
@ -46,6 +61,6 @@ buildPythonPackage rec {
|
|||||||
description = "Multi factor authentication system (2FA, MFA, OTP Server)";
|
description = "Multi factor authentication system (2FA, MFA, OTP Server)";
|
||||||
license = licenses.agpl3Plus;
|
license = licenses.agpl3Plus;
|
||||||
homepage = "http://www.privacyidea.org";
|
homepage = "http://www.privacyidea.org";
|
||||||
maintainers = [ maintainers.globin ];
|
maintainers = with maintainers; [ globin ma27 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user