5 , buildPythonApplication
28 buildPythonApplication rec {
29 pname = "fdroidserver";
30 version = "unstable-2023-10-23";
31 format = "setuptools";
33 src = fetchFromGitLab {
35 repo = "fdroidserver";
36 rev = "f4b10cf83935432d19948dac669964384bef0728";
37 hash = "sha256-GmR6Td5pScwEKK9W6m26xQV4XxBdZ7frN2UvwUGY4Dw=";
46 substituteInPlace fdroidserver/common.py \
47 --replace "FDROID_PATH = os.path.realpath(os.path.join(os.path.dirname(__file__), '..'))" "FDROID_PATH = '$out/bin'"
51 ${python3.pythonOnBuildForHost.interpreter} setup.py compile_catalog
55 patchShebangs gradlew-fdroid
56 install -m 0755 gradlew-fdroid $out/bin
57 installShellCompletion --cmd fdroid \
58 --bash completion/bash-completion
70 propagatedBuildInputs = [
85 (ruamel-yaml.overrideAttrs (old: {
87 pname = "ruamel.yaml";
89 hash = "sha256-i3zml6LyEnUqNcGsQURx3BbEJMlXO+SSa1b/P10jt68=";
99 "${lib.makeBinPath [ apksigner ]}"
105 pythonImportsCheck = [
110 homepage = "https://gitlab.com/fdroid/fdroidserver";
111 changelog = "https://gitlab.com/fdroid/fdroidserver/-/blob/${version}/CHANGELOG.md";
112 description = "Server and tools for F-Droid, the Free Software repository system for Android";
113 license = licenses.agpl3Plus;
114 maintainers = with maintainers; [ linsui jugendhacker ];
115 mainProgram = "fdroid";