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

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 = [ pkgconfig autoreconfHook ];

  buildInputs = [ readline glib ];

  meta = with stdenv.lib; {
    description = "Command line bluetooth manager for Bluez5";
    license = licenses.gpl2;
    maintainers = [ maintainers.dasuxullebt ];
    platforms = platforms.unix;
  };

}