nixpkgs/pkgs/applications/window-managers/lemonbar/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
623 B
Nix
Raw Normal View History

{ 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=";
2016-10-09 00:52:07 +00:00
};
2016-10-09 00:52:07 +00:00
buildInputs = [ libxcb perl ];
installFlags = [ "DESTDIR=$(out)" "PREFIX=" ];
meta = with lib; {
2016-10-09 00:52:07 +00:00
description = "A lightweight xcb based bar";
homepage = "https://github.com/LemonBoy/bar";
maintainers = with maintainers; [ meisternu fortuneteller2k ];
license = licenses.mit;
2016-10-09 00:52:07 +00:00
platforms = platforms.linux;
};
}