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

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

30 lines
613 B
Nix
Raw Normal View History

2022-10-15 13:21:24 +03:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "sigslot";
2023-02-25 16:55:38 +03:00
version = "1.2.2";
2022-10-15 13:21:24 +03:00
src = fetchFromGitHub {
owner = "palacaze";
repo = "sigslot";
rev = "v${version}";
2023-02-25 16:55:38 +03:00
hash = "sha256-MKtVZLHp8UfXW8KJ3QjPMhxnt46xV+pA9NMqAX0iqiA=";
2022-10-15 13:21:24 +03:00
};
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;
};
}