From 50bd1a0e8f388ba64b5f8fca39ed332c051ff7b2 Mon Sep 17 00:00:00 2001 From: Christoph-Simon Senjak Date: Fri, 12 Feb 2016 14:40:49 +0100 Subject: [PATCH] bluez-tools: init 2015-09-10 (close #12936) vcunat only fixed whitespace and changed the authorship e-mail from dummy address you@example.com to the one recorded in maintainers.nix. (Now github should recognize the commit as yours.) --- lib/maintainers.nix | 1 + pkgs/tools/bluetooth/bluez-tools/default.nix | 24 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 27 insertions(+) create mode 100644 pkgs/tools/bluetooth/bluez-tools/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index e9a55ef834d0..89fe97f5feb5 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -75,6 +75,7 @@ cstrahan = "Charles Strahan "; cwoac = "Oliver Matthews "; DamienCassou = "Damien Cassou "; + dasuxullebt = "Christoph-Simon Senjak "; davidak = "David Kleuker "; davidrusu = "David Rusu "; dbohdan = "Danyil Bohdan "; diff --git a/pkgs/tools/bluetooth/bluez-tools/default.nix b/pkgs/tools/bluetooth/bluez-tools/default.nix new file mode 100644 index 000000000000..4469ba67b3b8 --- /dev/null +++ b/pkgs/tools/bluetooth/bluez-tools/default.nix @@ -0,0 +1,24 @@ +{ stdenv, autoconf, automake, glib, pkgconfig, readline, fetchgit }: + +stdenv.mkDerivation rec { + date = "2015-09-10"; + name = "bluez-tools-${date}"; + rev = "193ad6bb3db"; + + src = fetchgit { + inherit rev; + url = "https://github.com/khvzak/bluez-tools.git"; + sha256 = "3f264d14ba8ef1b0d3c45e621a5c685035a60d789da64f64d25055047f45c55b"; + }; + preConfigure = '' + ./autogen.sh + ''; + buildInputs = [ stdenv autoconf automake glib pkgconfig readline ]; + + meta = with stdenv.lib; { + description = "Command line bluetooth manager for Bluez5"; + license = stdenv.lib.licenses.gpl2; + maintainers = [ maintainers.dasuxullebt ]; + }; + +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0df4ce21a6e7..6f17bdab5281 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -721,6 +721,8 @@ let blockdiag = pythonPackages.blockdiag; + bluez-tools = callPackage ../tools/bluetooth/bluez-tools { }; + bmon = callPackage ../tools/misc/bmon { }; bochs = callPackage ../applications/virtualization/bochs { };