about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/sigslot/default.nix
blob: 8bc51fdd9ec5084a51ef4d71b8597450edd59643 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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 = "A 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;
  };
}