about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/bluetooth/bluez-tools/default.nix
blob: 6b87a54be63acc8200e46556e201fdcd38e04e0d (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
{ lib, stdenv, autoreconfHook, readline
, fetchFromGitHub, glib, pkg-config }:

stdenv.mkDerivation rec {
  date    = "2016-12-12";
  name    = "bluez-tools-${date}";
  rev     = "97efd29";

  src = fetchFromGitHub {
    inherit rev;
    owner = "khvzak";
    repo = "bluez-tools";
    sha256 = "08xp77sf5wnq5086halmyk3vla4bfls06q1zrqdcq36hw6d409i6";
  };

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

}