mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
640 B
Nix
27 lines
640 B
Nix
{ lib, stdenv, fetchFromGitHub, perl, libxcb }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lemonbar";
|
|
version = "1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LemonBoy";
|
|
repo = "bar";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-OLhgu0kmMZhjv/VST8AXvIH+ysMq72m4TEOypdnatlU=";
|
|
};
|
|
|
|
buildInputs = [ libxcb perl ];
|
|
|
|
installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
|
|
|
|
meta = with lib; {
|
|
description = "Lightweight xcb based bar";
|
|
homepage = "https://github.com/LemonBoy/bar";
|
|
maintainers = with maintainers; [ meisternu moni ];
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
mainProgram = "lemonbar";
|
|
};
|
|
}
|