Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qcoro: 0.4.0 -> 0.6.0 and AArch64 fix #196047

Merged
merged 3 commits into from
Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkgs/applications/plasma-mobile/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ let
krecorder = callPackage ./krecorder.nix {};
ktrip = callPackage ./ktrip.nix {};
kweather = callPackage ./kweather.nix {};
neochat = callPackage ./neochat.nix {};
neochat = callPackage ./neochat.nix { inherit srcs; };
plasma-dialer = callPackage ./plasma-dialer.nix {};
plasma-phonebook = callPackage ./plasma-phonebook.nix {};
plasma-settings = callPackage ./plasma-settings.nix {};
plasmatube = callPackage ./plasmatube.nix {};
spacebar = callPackage ./spacebar.nix {};
spacebar = callPackage ./spacebar.nix { inherit srcs; };
};

in lib.makeScope libsForQt5.newScope packages
21 changes: 16 additions & 5 deletions pkgs/applications/plasma-mobile/neochat.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{ mkDerivation
{ gcc11Stdenv
, lib
, pkg-config
, srcs

, cmake
, cmark
, extra-cmake-modules
, pkg-config
, wrapQtAppsHook

, cmark
, kconfig
, kdbusaddons
, ki18n
Expand All @@ -25,10 +29,17 @@
, sonnet
}:

mkDerivation rec {
# Workaround for AArch64 not using GCC11 yet.
gcc11Stdenv.mkDerivation rec {
pname = "neochat";
inherit (srcs.neochat) version src;

nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ];
nativeBuildInputs = [
cmake
extra-cmake-modules
pkg-config
wrapQtAppsHook
];

buildInputs = [
cmark
Expand Down
8 changes: 7 additions & 1 deletion pkgs/applications/plasma-mobile/spacebar.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{ lib
, mkDerivation
, gcc11Stdenv
, srcs

, cmake
, extra-cmake-modules
, wrapQtAppsHook

, kcontacts
, ki18n
Expand All @@ -18,12 +21,15 @@
, qtquickcontrols2
}:

mkDerivation rec {
# Workaround for AArch64 not using GCC11 yet.
gcc11Stdenv.mkDerivation rec {
pname = "spacebar";
inherit (srcs.spacebar) version src;

nativeBuildInputs = [
cmake
extra-cmake-modules
wrapQtAppsHook
];

buildInputs = [
Expand Down
16 changes: 10 additions & 6 deletions pkgs/development/libraries/qcoro/default.nix
Original file line number Diff line number Diff line change
@@ -1,30 +1,35 @@
{ lib
, mkDerivation
{ stdenv
, gcc11Stdenv
, lib
, fetchFromGitHub
, cmake
, libpthreadstubs
, qtbase
, qtwebsockets
, wrapQtAppsHook
}:

mkDerivation rec {
gcc11Stdenv.mkDerivation rec {
pname = "qcoro";
version = "0.4.0";
version = "0.6.0";

src = fetchFromGitHub {
owner = "danvratil";
repo = "qcoro";
rev = "v${version}";
sha256 = "sha256-RVpyL+BklX8Wyk9Xj9UyuvNK5Vev8ZsrOSMxX1HtcHU=";
sha256 = "sha256-6kRWBzspwsO0Q6/8gQUr69DJjmkPa3lWrKTmSgVn6V4=";
};

outputs = [ "out" "dev" ];

nativeBuildInputs = [
wrapQtAppsHook
cmake
];

buildInputs = [
qtbase
qtwebsockets
libpthreadstubs
];

Expand All @@ -34,6 +39,5 @@ mkDerivation rec {
license = licenses.mit;
maintainers = with maintainers; [ smitop ];
platforms = platforms.linux;
badPlatforms = platforms.aarch64;
};
}