qcoro: 0.4.0 -> 0.6.0

And fix compilation on aarch64 by using gcc11Stdenv.

Co-authored-by: Samuel Dionne-Riel <samuel@dionne-riel>
This commit is contained in:
Brian McKenna 2022-08-05 17:17:37 +10:00 committed by Samuel Dionne-Riel
parent 94716867c3
commit 28cbbb8bd4

View File

@ -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
];
@ -34,6 +39,5 @@ mkDerivation rec {
license = licenses.mit;
maintainers = with maintainers; [ smitop ];
platforms = platforms.linux;
badPlatforms = platforms.aarch64;
};
}