nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 28710cfe2e925ce205e436082ca71e7fde6d7bba
parent c89255025c09219250397d1a67b57a5d38b5463a
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Thu, 16 Jun 2022 23:15:02 +0300

Add lbm

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/suckless/lbm/default.nix | 32++++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -395,6 +395,7 @@ lib.makeScope newScope ( imscript = callPackage ./suckless/imscript { }; json2tsv = callPackage ./suckless/json2tsv { }; lacc = callPackage ./suckless/lacc { }; + lbm = callPackage ./suckless/lbm { }; lel = callPackage ./suckless/lel { }; libgrapheme = callPackage ./suckless/libgrapheme { }; libst = callPackage ./suckless/libst { }; diff --git a/pkgs/suckless/lbm/default.nix b/pkgs/suckless/lbm/default.nix @@ -0,0 +1,32 @@ +{ lib, stdenv, fetchFromGitLab, pkg-config, dbus, xorg }: + +stdenv.mkDerivation rec { + pname = "lbm"; + version = "2022-03-13"; + + src = fetchFromGitLab { + domain = "git.weitnahbei.de"; + owner = "nullmark"; + repo = "little_blue_man"; + rev = "d8dcd643a02ab7fafe6c6ac88e2e31ee66839a0b"; + hash = "sha256-64lBcpcapT+swVGA/wMAg26eITxtfaGNVGJoH+f05GY="; + fetchSubmodules = true; + }; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ dbus xorg.libX11 xorg.libXft xorg.libXinerama ]; + + makeFlags = [ "CC:=$(CC)" ]; + + installFlags = [ "PREFIX=$(out)" ]; + + meta = with lib; { + description = "A simple Bluetooth manager"; + inherit (src.meta) homepage; + license = licenses.mit; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.linux; + skip.ci = stdenv.isDarwin; + }; +}