3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/window-managers/lemonbar/default.nix
fortuneteller2k 0331c3ecf4 lemonbar: use fetchFromGithub, cleanup
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-05-22 23:01:00 +08:00

26 lines
623 B
Nix

{ lib, stdenv, fetchFromGitHub, perl, libxcb }:
stdenv.mkDerivation rec {
pname = "lemonbar";
version = "1.4";
src = fetchFromGitHub {
owner = "LemonBoy";
repo = "bar";
rev = "v${version}";
sha256 = "sha256-lmppcnQ8r4jEuhegpTBxYqxfTTS/IrbtQVZ44HqnoWo=";
};
buildInputs = [ libxcb perl ];
installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
meta = with lib; {
description = "A lightweight xcb based bar";
homepage = "https://github.com/LemonBoy/bar";
maintainers = with maintainers; [ meisternu fortuneteller2k ];
license = licenses.mit;
platforms = platforms.linux;
};
}