mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
45 lines
908 B
Nix
45 lines
908 B
Nix
{ lib
|
|
, stdenv
|
|
, autoreconfHook
|
|
, fetchFromGitHub
|
|
, glib
|
|
, pkg-config
|
|
, readline
|
|
, unstableGitUpdater
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "bluez-tools";
|
|
version = "0-unstable-2020-10-24";
|
|
|
|
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 = "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;
|
|
};
|
|
})
|