2014-08-15 05:01:20 +04:00
|
|
|
{ stdenv, fetchurl, perl, libxcb }:
|
2014-08-10 01:31:05 +04:00
|
|
|
|
2014-08-15 05:01:20 +04:00
|
|
|
let
|
2015-08-09 00:55:28 +03:00
|
|
|
version = "1.1";
|
2014-08-15 05:01:20 +04:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "bar-${version}";
|
2014-08-10 01:31:05 +04:00
|
|
|
|
2014-08-15 05:01:20 +04:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/LemonBoy/bar/archive/v${version}.tar.gz";
|
2015-08-09 00:55:28 +03:00
|
|
|
sha256 = "171ciw676cvj80zzbqfbg9nwix36zph0683zmqf279q9b9bmayan";
|
2014-08-15 05:01:20 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libxcb perl ];
|
|
|
|
|
|
|
|
prePatch = ''sed -i "s@/usr@$out@" Makefile'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A lightweight xcb based bar";
|
2014-09-13 15:51:39 +04:00
|
|
|
homepage = https://github.com/LemonBoy/bar;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.meisternu ];
|
2014-08-15 05:01:20 +04:00
|
|
|
license = "Custom";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2014-08-10 01:31:05 +04:00
|
|
|
}
|