nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 45 lines 903 B view raw
1{ 2 lib, 3 stdenv, 4 autoreconfHook, 5 fetchFromGitHub, 6 glib, 7 pkg-config, 8 readline, 9 unstableGitUpdater, 10}: 11 12stdenv.mkDerivation (finalAttrs: { 13 pname = "bluez-tools"; 14 version = "0-unstable-2020-10-24"; 15 16 src = fetchFromGitHub { 17 owner = "khvzak"; 18 repo = "bluez-tools"; 19 rev = "f65321736475429316f07ee94ec0deac8e46ec4a"; 20 hash = "sha256-GNtuMqMv/87bp3GX9Lh+CK/VKPluNVeWZRRVOD5NY3Y="; 21 }; 22 23 nativeBuildInputs = [ 24 autoreconfHook 25 pkg-config 26 ]; 27 28 buildInputs = [ 29 glib 30 readline 31 ]; 32 33 strictDeps = true; 34 35 passthru.updateScript = unstableGitUpdater { }; 36 37 meta = { 38 homepage = "https://github.com/khvzak/bluez-tools"; 39 description = "Set of tools to manage bluetooth devices for linux"; 40 license = with lib.licenses; [ gpl2Plus ]; 41 mainProgram = "bt-agent"; 42 maintainers = with lib.maintainers; [ ]; 43 platforms = lib.platforms.linux; 44 }; 45})