2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, autoreconfHook, readline
|
2021-01-17 09:17:16 +00:00
|
|
|
, fetchFromGitHub, glib, pkg-config }:
|
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
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2017-03-24 23:09:15 +00:00
|
|
|
|
|
|
|
buildInputs = [ readline glib ];
|
2016-02-12 13:40:49 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-02-12 13:40:49 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
}
|