mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
8627b384af
These seemed done to upgrade version on aarch64-linux, but now they were (also) downgrading on x86_64-linux. I checked that they still build; some cases were even fixed, e.g.: https://hydra.nixos.org/log/40jmdmnk07ac7xwwxmdqa7smvc3xflm2-qcoro-0.7.0.drv
44 lines
811 B
Nix
44 lines
811 B
Nix
{ stdenv
|
|
, gcc12Stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, libpthreadstubs
|
|
, qtbase
|
|
, qtwebsockets
|
|
, wrapQtAppsHook
|
|
}:
|
|
|
|
gcc12Stdenv.mkDerivation rec {
|
|
pname = "qcoro";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "danvratil";
|
|
repo = "qcoro";
|
|
rev = "v${version}";
|
|
sha256 = "cHd2CwzP4oD/gy9qsDWIMgvlfBQq1p9C4G7JNAs4XW4=";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
nativeBuildInputs = [
|
|
wrapQtAppsHook
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qtwebsockets
|
|
libpthreadstubs
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Library for using C++20 coroutines in connection with certain asynchronous Qt actions";
|
|
homepage = "https://github.com/danvratil/qcoro";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ smitop ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|