diff options
Diffstat (limited to 'nixpkgs/pkgs/by-name/bl/bluez-tools/package.nix')
-rw-r--r-- | nixpkgs/pkgs/by-name/bl/bluez-tools/package.nix | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/bl/bluez-tools/package.nix b/nixpkgs/pkgs/by-name/bl/bluez-tools/package.nix new file mode 100644 index 000000000000..47d381a321d7 --- /dev/null +++ b/nixpkgs/pkgs/by-name/bl/bluez-tools/package.nix @@ -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; + }; +}) |