My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/qcoro/default.nix

39 lines
768 B

{ 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;
};
}