4 buildPythonApplication,
13 gobject-introspection,
20 buildPythonApplication {
22 version = "unstable-2023-02-22";
25 src = fetchFromGitLab {
27 repo = "development/core/click";
28 rev = "aaf2735e8e6cbeaf2e429c70136733513a81718a";
29 hash = "sha256-pNu995/w3tbz15QQVdVYBnWnAoZmqWj1DN/5PZZ0iZw=";
33 # These should be proper Requires, using the header needs their headers
34 substituteInPlace lib/click/click-*.pc.in \
35 --replace 'Requires.private' 'Requires'
39 "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
40 "--with-systemduserunitdir=${placeholder "out"}/lib/systemd/user"
45 --prefix LD_LIBRARY_PATH : "$out/lib"
50 export click_cv_perl_vendorlib=$out/${perl.libPrefix}
51 export PYTHON_INSTALL_FLAGS="--prefix=$out"
64 # Tests were omitted for time constraint reasons
67 enableParallelBuilding = true;
70 # dbus-test-runner not packaged yet, otherwise build-time dependency even when not running tests
71 ./dbus-test-runner.patch
80 propagatedBuildInputs = [
87 description = "Tool to build click packages. Mainly used for Ubuntu Touch";
88 homepage = "https://gitlab.com/ubports/development/core/click";
89 license = lib.licenses.gpl3Only;
90 maintainers = with lib.maintainers; [
94 platforms = lib.platforms.linux;