depot/third_party/nixpkgs/pkgs/by-name/dw/dwlb/package.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

51 lines
945 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
pkg-config,
wayland-scanner,
wayland-protocols,
unstableGitUpdater,
pixman,
fcft,
wayland,
}:
stdenv.mkDerivation {
pname = "dwlb";
version = "0-unstable-2024-05-16";
src = fetchFromGitHub {
owner = "kolunmi";
repo = "dwlb";
rev = "0daa1c1fdd82c4d790e477bf171e23ca2fdfa0cb";
hash = "sha256-Bu20IqRwBP1WRBgbcEQU4Q2BZ2FBnVaySOTsCn0iSSE=";
};
nativeBuildInputs = [
pkg-config
];
env = {
PREFIX = placeholder "out";
};
buildInputs = [
wayland-scanner
wayland-protocols
pixman
fcft
wayland
];
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "Fast, feature-complete bar for dwl";
homepage = "https://github.com/kolunmi/dwlb";
license = lib.licenses.gpl3Plus;
mainProgram = "dwlb";
maintainers = with lib.maintainers; [ bot-wxt1221 ];
platforms = wayland.meta.platforms;
};
}