depot/third_party/nixpkgs/pkgs/development/libraries/sigslot/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

29 lines
611 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "sigslot";
version = "1.2.2";
src = fetchFromGitHub {
owner = "palacaze";
repo = "sigslot";
rev = "v${version}";
hash = "sha256-MKtVZLHp8UfXW8KJ3QjPMhxnt46xV+pA9NMqAX0iqiA=";
};
nativeBuildInputs = [ cmake ];
dontBuild = true;
meta = with lib; {
description = "Header-only, thread safe implementation of signal-slots for C++";
license = licenses.mit;
homepage = "https://github.com/palacaze/sigslot";
maintainers = with maintainers; [ azahi ];
platforms = platforms.all;
};
}