2022-10-21 18:38:19 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sigslot";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "1.2.2";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "palacaze";
|
|
|
|
repo = "sigslot";
|
|
|
|
rev = "v${version}";
|
2023-03-04 12:14:45 +00:00
|
|
|
hash = "sha256-MKtVZLHp8UfXW8KJ3QjPMhxnt46xV+pA9NMqAX0iqiA=";
|
2022-10-21 18:38:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Header-only, thread safe implementation of signal-slots for C++";
|
2022-10-21 18:38:19 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
homepage = "https://github.com/palacaze/sigslot";
|
|
|
|
maintainers = with maintainers; [ azahi ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|