default.nix (909B)
1 { 2 lib, 3 fetchFromGitLab, 4 python312Packages, 5 }: 6 7 python312Packages.buildPythonApplication rec { 8 pname = "agunua"; 9 version = "1.7.2"; 10 pyproject = true; 11 12 src = fetchFromGitLab { 13 domain = "framagit.org"; 14 owner = "bortzmeyer"; 15 repo = "agunua"; 16 tag = "release-${version}"; 17 hash = "sha256-a/2906Hyr5rropuwxZQk1vXU0Ilaw1cPZjJlOdoJhsk="; 18 }; 19 20 build-system = with python312Packages; [ setuptools ]; 21 22 dependencies = with python312Packages; [ 23 pyopenssl 24 pysocks 25 netaddr 26 legacy-cgi 27 ]; 28 29 nativeCheckInputs = with python312Packages; [ pytestCheckHook ]; 30 31 disabledTestPaths = [ 32 "tests/test_egsam.py" 33 "tests/test_full.py" 34 ]; 35 36 meta = { 37 description = "Python library for the development of Gemini clients"; 38 homepage = "https://framagit.org/bortzmeyer/agunua"; 39 license = lib.licenses.gpl2Only; 40 maintainers = [ lib.maintainers.sikmir ]; 41 }; 42 }