depot/third_party/nixpkgs/pkgs/development/libraries/sigslot/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

29 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;
};
}