lol

lomiri.cmake-extras: init at unstable-2022-11-21

OPNA2608 8b3e7893 089a24b2

+65
+14
pkgs/desktops/lomiri/default.nix
··· 1 + { lib 2 + , pkgs 3 + , libsForQt5 4 + }: 5 + 6 + let 7 + packages = self: let 8 + inherit (self) callPackage; 9 + in { 10 + #### Development tools / libraries 11 + cmake-extras = callPackage ./development/cmake-extras { }; 12 + }; 13 + in 14 + lib.makeScope libsForQt5.newScope packages
+49
pkgs/desktops/lomiri/development/cmake-extras/default.nix
··· 1 + { stdenvNoCC 2 + , lib 3 + , fetchFromGitLab 4 + , cmake 5 + , qtbase 6 + }: 7 + 8 + stdenvNoCC.mkDerivation { 9 + pname = "cmake-extras"; 10 + version = "unstable-2022-11-21"; 11 + 12 + src = fetchFromGitLab { 13 + owner = "ubports"; 14 + repo = "development/core/cmake-extras"; 15 + rev = "99aab4514ee182cb7a94821b4b51e4d8cb9a82ef"; 16 + hash = "sha256-axj5QxgDrHy0HiZkfrbm22hVvSCKkWFoQC8MdQMm9tg="; 17 + }; 18 + 19 + postPatch = '' 20 + # We have nothing to build here, no need to depend on a C compiler 21 + substituteInPlace CMakeLists.txt \ 22 + --replace 'project(cmake-extras)' 'project(cmake-extras NONE)' 23 + 24 + # This is in a function that reverse dependencies use to determine where to install their files to 25 + substituteInPlace src/QmlPlugins/QmlPluginsConfig.cmake \ 26 + --replace "\''${CMAKE_INSTALL_LIBDIR}/qt5/qml" "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}" 27 + ''; 28 + 29 + strictDeps = true; 30 + 31 + # Produces no binaries 32 + dontWrapQtApps = true; 33 + 34 + nativeBuildInputs = [ 35 + cmake 36 + ]; 37 + 38 + buildInputs = [ 39 + qtbase 40 + ]; 41 + 42 + meta = with lib; { 43 + description = "A collection of add-ons for the CMake build tool"; 44 + homepage = "https://gitlab.com/ubports/development/core/cmake-extras/"; 45 + license = licenses.gpl3Only; 46 + maintainers = teams.lomiri.members; 47 + platforms = platforms.all; 48 + }; 49 + }
+2
pkgs/top-level/all-packages.nix
··· 37582 37582 37583 37583 gnustep = recurseIntoAttrs (callPackage ../desktops/gnustep { }); 37584 37584 37585 + lomiri = recurseIntoAttrs (callPackage ../desktops/lomiri { }); 37586 + 37585 37587 lumina = recurseIntoAttrs (callPackage ../desktops/lumina { }); 37586 37588 37587 37589 ### DESKTOPS/LXDE