mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
30 lines
613 B
Nix
30 lines
613 B
Nix
|
{ lib
|
||
|
, stdenv
|
||
|
, fetchFromGitHub
|
||
|
, cmake
|
||
|
}:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "sigslot";
|
||
|
version = "1.2.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "palacaze";
|
||
|
repo = "sigslot";
|
||
|
rev = "v${version}";
|
||
|
hash = "sha256-FXoKI0aTpZNHHYZnEoPduf3ctOQ/qKoQrrXZPviAvuY=";
|
||
|
};
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
}
|