Merge pull request #277322 from atorres1985-contrib/bluez-tools
Bluez-tools: cleanup
This commit is contained in:
commit
4799b9a019
3 changed files with 44 additions and 28 deletions
44
pkgs/by-name/bl/bluez-tools/package.nix
Normal file
44
pkgs/by-name/bl/bluez-tools/package.nix
Normal 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;
|
||||
};
|
||||
})
|
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
|
@ -4448,8 +4448,6 @@ with pkgs;
|
|||
|
||||
bluez-alsa = callPackage ../tools/bluetooth/bluez-alsa { };
|
||||
|
||||
bluez-tools = callPackage ../tools/bluetooth/bluez-tools { };
|
||||
|
||||
bmon = callPackage ../tools/misc/bmon { };
|
||||
|
||||
boca = callPackage ../development/libraries/boca { };
|
||||
|
|
Loading…
Reference in a new issue