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