2017-03-24 23:09:15 +00:00
|
|
|
{ stdenv, autoreconfHook, readline
|
|
|
|
, fetchFromGitHub, glib, pkgconfig }:
|
2016-02-12 13:40:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-24 23:09:15 +00:00
|
|
|
date = "2016-12-12";
|
2016-02-12 13:40:49 +00:00
|
|
|
name = "bluez-tools-${date}";
|
2017-03-24 23:09:15 +00:00
|
|
|
rev = "97efd29";
|
2016-02-12 13:40:49 +00:00
|
|
|
|
2017-03-24 23:09:15 +00:00
|
|
|
src = fetchFromGitHub {
|
2016-02-12 13:40:49 +00:00
|
|
|
inherit rev;
|
2017-03-24 23:09:15 +00:00
|
|
|
owner = "khvzak";
|
|
|
|
repo = "bluez-tools";
|
|
|
|
sha256 = "08xp77sf5wnq5086halmyk3vla4bfls06q1zrqdcq36hw6d409i6";
|
2016-02-12 13:40:49 +00:00
|
|
|
};
|
2017-03-24 23:09:15 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
|
|
|
|
|
|
|
buildInputs = [ readline glib ];
|
2016-02-12 13:40:49 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Command line bluetooth manager for Bluez5";
|
2017-03-24 23:09:15 +00:00
|
|
|
license = licenses.gpl2;
|
2016-02-12 13:40:49 +00:00
|
|
|
maintainers = [ maintainers.dasuxullebt ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.unix;
|
2016-02-12 13:40:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|