nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 49 lines 992 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 captcha, 5 fetchFromGitHub, 6 flask, 7 flask-session, 8 flask-sqlalchemy, 9 markupsafe, 10 pytestCheckHook, 11 setuptools, 12}: 13 14buildPythonPackage rec { 15 pname = "flask-session-captcha"; 16 version = "1.5.0"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "Tethik"; 21 repo = "flask-session-captcha"; 22 tag = "v${version}"; 23 hash = "sha256-2JPJx8yQIl0bbcbshONJtja7BnSiieHzHi64A6jLpc0="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 captcha 30 flask 31 markupsafe 32 ]; 33 34 nativeCheckInputs = [ 35 flask-session 36 flask-sqlalchemy 37 pytestCheckHook 38 ]; 39 40 pythonImportsCheck = [ "flask_session_captcha" ]; 41 42 meta = { 43 description = "Captcha implemention for flask"; 44 homepage = "https://github.com/Tethik/flask-session-captcha"; 45 changelog = "https://github.com/Tethik/flask-session-captcha/releases/tag/v${version}"; 46 license = lib.licenses.mit; 47 maintainers = with lib.maintainers; [ Flakebi ]; 48 }; 49}