2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-14 08:04:47 +00:00
nixpkgs/pkgs/tools/bluetooth/bluez-tools/default.nix
Sergei Trofimovich b8135edb7c bluez-tools: unstable-2016-12-12 -> unstable-2020-10-24
Has a few fixes. Among other things fixes upstream gcc-10 build failure:

    ld: bt-agent.o:(.bss+0x0): multiple definition of `agent_need_unregister';
      lib/agent-helper.o:(.bss+0x0): first defined here
2022-05-16 17:48:02 +01:00

27 lines
660 B
Nix

{ lib, stdenv, autoreconfHook, readline
, fetchFromGitHub, glib, pkg-config }:
stdenv.mkDerivation rec {
version = "unstable-2020-10-24";
pname = "bluez-tools";
src = fetchFromGitHub {
owner = "khvzak";
repo = "bluez-tools";
rev = "f65321736475429316f07ee94ec0deac8e46ec4a";
sha256 = "0xk39lz3hm8lcnb5fdbfz4ldbbq8gswg95vilzdwxzrglcr6xnqq";
};
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ readline glib ];
meta = with lib; {
description = "Command line bluetooth manager for Bluez5";
license = licenses.gpl2;
maintainers = [ maintainers.dasuxullebt ];
platforms = platforms.unix;
};
}