mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
5c09fe1887
* libsForQt5.qcoro: 0.3.0 -> 0.4.0 (#155990) * libsForQt5.qcoro: don't build on aarch64 Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
40 lines
768 B
Nix
40 lines
768 B
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, libpthreadstubs
|
|
, qtbase
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "qcoro";
|
|
version = "0.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "danvratil";
|
|
repo = "qcoro";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-RVpyL+BklX8Wyk9Xj9UyuvNK5Vev8ZsrOSMxX1HtcHU=";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
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;
|
|
badPlatforms = platforms.aarch64;
|
|
};
|
|
}
|