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 22:52:01 +01:00
stdenv.mkDerivation {
2020-11-28 07:55:44 +00:00
name = "lemonbar-1.4";
2016-10-09 01:52:07 +01: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 01:52:07 +01:00
};
2016-10-09 01:52:07 +01:00
buildInputs = [ libxcb perl ];
2016-10-09 01:52:07 +01:00
prePatch = ''sed -i "s@/usr@$out@" Makefile'';
meta = with lib; {
2016-10-09 01:52:07 +01:00
description = "A lightweight xcb based bar";
homepage = "https://github.com/LemonBoy/bar";
2016-10-09 01:52:07 +01:00
maintainers = [ maintainers.meisternu ];
license = "Custom";
2016-10-09 01:52:07 +01:00
platforms = platforms.linux;
};
}