Merge pull request #277322 from atorres1985-contrib/bluez-tools

Bluez-tools: cleanup
This commit is contained in:
Thiago Kenji Okada 2024-01-13 21:09:24 +00:00 committed by GitHub
commit 4799b9a019
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 28 deletions

View file

@ -0,0 +1,44 @@
{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
, glib
, pkg-config
, readline
, unstableGitUpdater
}:
stdenv.mkDerivation (finalAttrs: {
pname = "bluez-tools";
version = "unstable-2020-10-25";
src = fetchFromGitHub {
owner = "khvzak";
repo = "bluez-tools";
rev = "f65321736475429316f07ee94ec0deac8e46ec4a";
hash = "sha256-GNtuMqMv/87bp3GX9Lh+CK/VKPluNVeWZRRVOD5NY3Y=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
glib
readline
];
strictDeps = true;
passthru.updateScript = unstableGitUpdater { };
meta = {
homepage = "https://github.com/khvzak/bluez-tools";
description = "A set of tools to manage bluetooth devices for linux";
license = with lib.licenses; [ gpl2Plus ];
mainProgram = "bt-agent";
maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = lib.platforms.linux;
};
})

View file

@ -1,26 +0,0 @@
{ lib, stdenv, autoreconfHook, readline
, fetchFromGitHub, glib, pkg-config }:
stdenv.mkDerivation rec {
version = "unstable-2020-10-24";
pname = "bluez-tools";
src = fetchFromGitHub {
owner = "khvzak";
repo = "bluez-tools";
rev = "f65321736475429316f07ee94ec0deac8e46ec4a";
sha256 = "0xk39lz3hm8lcnb5fdbfz4ldbbq8gswg95vilzdwxzrglcr6xnqq";
};
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ readline glib ];
meta = with lib; {
description = "Command line bluetooth manager for Bluez5";
license = licenses.gpl2;
maintainers = [ ];
platforms = platforms.unix;
};
}

View file

@ -4448,8 +4448,6 @@ with pkgs;
bluez-alsa = callPackage ../tools/bluetooth/bluez-alsa { }; bluez-alsa = callPackage ../tools/bluetooth/bluez-alsa { };
bluez-tools = callPackage ../tools/bluetooth/bluez-tools { };
bmon = callPackage ../tools/misc/bmon { }; bmon = callPackage ../tools/misc/bmon { };
boca = callPackage ../development/libraries/boca { }; boca = callPackage ../development/libraries/boca { };