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 { stdenv
, mkDerivation , gcc11Stdenv
, lib
, fetchFromGitHub , fetchFromGitHub
, cmake , cmake
, libpthreadstubs , libpthreadstubs
, qtbase , qtbase
, qtwebsockets
, wrapQtAppsHook
}: }:
mkDerivation rec { gcc11Stdenv.mkDerivation rec {
pname = "qcoro"; pname = "qcoro";
version = "0.4.0"; version = "0.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "danvratil"; owner = "danvratil";
repo = "qcoro"; repo = "qcoro";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-RVpyL+BklX8Wyk9Xj9UyuvNK5Vev8ZsrOSMxX1HtcHU="; sha256 = "sha256-6kRWBzspwsO0Q6/8gQUr69DJjmkPa3lWrKTmSgVn6V4=";
}; };
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
nativeBuildInputs = [ nativeBuildInputs = [
wrapQtAppsHook
cmake cmake
]; ];
buildInputs = [ buildInputs = [
qtbase qtbase
qtwebsockets
libpthreadstubs libpthreadstubs
]; ];
@ -34,6 +39,5 @@ mkDerivation rec {
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ smitop ]; maintainers = with maintainers; [ smitop ];
platforms = platforms.linux; platforms = platforms.linux;
badPlatforms = platforms.aarch64;
}; };
} }