core/pkgs/by-name/bl/bluez-tools/default.nix

32 lines
882 B
Nix
Raw Normal View History

2024-05-13 21:24:10 +00:00
{ lib, stdenv, autoreconfHook, fetchFromGitHub, glib, pkg-config, readline
, unstableGitUpdater }:
2024-05-02 00:46:19 +00:00
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=";
};
2024-05-13 21:24:10 +00:00
nativeBuildInputs = [ autoreconfHook pkg-config ];
2024-05-02 00:46:19 +00:00
2024-05-13 21:24:10 +00:00
buildInputs = [ glib readline ];
2024-05-02 00:46:19 +00:00
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;
};
})