package.nix (937B)
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 __structuredAttrs = true; 15 16 src = fetchFromGitLab { 17 domain = "git.weitnahbei.de"; 18 owner = "nullmark"; 19 repo = "little_blue_man"; 20 rev = "d291e4e14df40fb84089e2dee25c3be50ea1366e"; 21 hash = "sha256-nsmW8wwOelzVmhtC5E2a5DPpEdaKiu98/wGl6Gflfz4="; 22 fetchSubmodules = true; 23 }; 24 25 nativeBuildInputs = [ pkg-config ]; 26 27 buildInputs = [ 28 dbus 29 xorg.libX11 30 xorg.libXft 31 xorg.libXinerama 32 ]; 33 34 makeFlags = [ "CC:=$(CC)" ]; 35 36 installFlags = [ "PREFIX=$(out)" ]; 37 38 meta = { 39 description = "A simple Bluetooth manager"; 40 homepage = "https://git.weitnahbei.de/nullmark/little_blue_man"; 41 license = lib.licenses.mit; 42 maintainers = [ lib.maintainers.sikmir ]; 43 platforms = lib.platforms.linux; 44 skip.ci = stdenv.isDarwin; 45 }; 46 })
