3 , buildPythonApplication
12 , gobject-introspection
19 buildPythonApplication {
21 version = "unstable-2023-02-22";
24 src = fetchFromGitLab {
26 repo = "development/core/click";
27 rev = "aaf2735e8e6cbeaf2e429c70136733513a81718a";
28 sha256 = "sha256-pNu995/w3tbz15QQVdVYBnWnAoZmqWj1DN/5PZZ0iZw=";
32 # These should be proper Requires, using the header needs their headers
33 substituteInPlace lib/click/click-*.pc.in \
34 --replace 'Requires.private' 'Requires'
38 "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
39 "--with-systemduserunitdir=${placeholder "out"}/lib/systemd/user"
44 --prefix LD_LIBRARY_PATH : "$out/lib"
49 export click_cv_perl_vendorlib=$out/${perl.libPrefix}
50 export PYTHON_INSTALL_FLAGS="--prefix=$out"
63 # Tests were omitted for time constraint reasons
66 enableParallelBuilding = true;
69 # dbus-test-runner not packaged yet, otherwise build-time dependency even when not running tests
70 ./dbus-test-runner.patch
79 propagatedBuildInputs = [
86 description = "A tool to build click packages. Mainly used for Ubuntu Touch.";
87 homepage = "https://gitlab.com/ubports/development/core/click";
88 license = lib.licenses.gpl3Only;
89 maintainers = with lib.maintainers; [ ilyakooo0 OPNA2608 ];
90 platforms = lib.platforms.linux;