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

23 lines
565 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, perl, libxcb }:
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
2020-11-28 07:55:44 +00:00
name = "lemonbar-1.4";
2016-10-09 00:52:07 +00:00
src = fetchurl {
2020-11-28 07:55:44 +00:00
url = "https://github.com/LemonBoy/bar/archive/v1.4.tar.gz";
sha256 = "0fa91vb968zh6fyg97kdaix7irvqjqhpsb6ks0ggcl59lkbkdzbv";
2016-10-09 00:52:07 +00:00
};
2016-10-09 00:52:07 +00:00
buildInputs = [ libxcb perl ];
2016-10-09 00:52:07 +00:00
prePatch = ''sed -i "s@/usr@$out@" Makefile'';
meta = with lib; {
2016-10-09 00:52:07 +00:00
description = "A lightweight xcb based bar";
homepage = "https://github.com/LemonBoy/bar";
2016-10-09 00:52:07 +00:00
maintainers = [ maintainers.meisternu ];
license = "Custom";
2016-10-09 00:52:07 +00:00
platforms = platforms.linux;
};
}