default.nix (908B)
1 { 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 pkg-config, 6 dbus, 7 xorg, 8 }: 9 10 stdenv.mkDerivation (finalAttrs: { 11 pname = "lbm"; 12 version = "0-unstable-2023-12-06"; 13 14 src = fetchFromGitLab { 15 domain = "git.weitnahbei.de"; 16 owner = "nullmark"; 17 repo = "little_blue_man"; 18 rev = "d291e4e14df40fb84089e2dee25c3be50ea1366e"; 19 hash = "sha256-nsmW8wwOelzVmhtC5E2a5DPpEdaKiu98/wGl6Gflfz4="; 20 fetchSubmodules = true; 21 }; 22 23 nativeBuildInputs = [ pkg-config ]; 24 25 buildInputs = [ 26 dbus 27 xorg.libX11 28 xorg.libXft 29 xorg.libXinerama 30 ]; 31 32 makeFlags = [ "CC:=$(CC)" ]; 33 34 installFlags = [ "PREFIX=$(out)" ]; 35 36 meta = { 37 description = "A simple Bluetooth manager"; 38 homepage = "https://git.weitnahbei.de/nullmark/little_blue_man"; 39 license = lib.licenses.mit; 40 maintainers = [ lib.maintainers.sikmir ]; 41 platforms = lib.platforms.linux; 42 skip.ci = stdenv.isDarwin; 43 }; 44 })