nixpkgs/pkgs/development/libraries/qcoro/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
820 B
Nix
Raw Normal View History

2023-05-09 10:27:05 +00:00
{
lib,
stdenv,
2021-10-16 18:09:20 +00:00
fetchFromGitHub,
cmake,
libpthreadstubs,
qtbase,
qtwebsockets,
wrapQtAppsHook,
2021-10-16 18:09:20 +00:00
}:
2023-05-09 10:27:05 +00:00
stdenv.mkDerivation rec {
2021-10-16 18:09:20 +00:00
pname = "qcoro";
2024-10-04 14:12:56 +00:00
version = "0.11.0";
2021-10-16 18:09:20 +00:00
src = fetchFromGitHub {
owner = "danvratil";
repo = "qcoro";
rev = "v${version}";
2024-10-04 14:12:56 +00:00
sha256 = "sha256-teRuWtNR8r/MHZhqphazr7Jmn43qsHGv9eXOGrhSND0=";
2021-10-16 18:09:20 +00:00
};
outputs = [
"out"
"dev"
];
nativeBuildInputs = [
wrapQtAppsHook
2021-10-16 18:09:20 +00:00
cmake
];
buildInputs = [
qtbase
qtwebsockets
2021-10-16 18:09:20 +00:00
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;
};
}