mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
23 lines
576 B
Nix
23 lines
576 B
Nix
{ stdenv, fetchurl, perl, libxcb }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "lemonbar-1.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/LemonBoy/bar/archive/v1.3.tar.gz";
|
|
sha256 = "0zd3v8ys4jzi60pm3wq7p3pbbd5y0acimgiq46qx1ckmwg2q9rza";
|
|
};
|
|
|
|
buildInputs = [ libxcb perl ];
|
|
|
|
prePatch = ''sed -i "s@/usr@$out@" Makefile'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A lightweight xcb based bar";
|
|
homepage = https://github.com/LemonBoy/bar;
|
|
maintainers = [ maintainers.meisternu ];
|
|
license = "Custom";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|