nixpkgs-suyu/pkgs/applications/window-managers/bar/default.nix

26 lines
647 B
Nix
Raw Normal View History

{ stdenv, fetchurl, perl, libxcb }:
2014-08-09 23:31:05 +02:00
let
version = "1.0";
in
stdenv.mkDerivation rec {
name = "bar-${version}";
2014-08-09 23:31:05 +02:00
src = fetchurl {
url = "https://github.com/LemonBoy/bar/archive/v${version}.tar.gz";
sha256 = "1n2vak2acs37sslxl250cnz9c3irif5z4s54wi9qjyxbfzr2h2nc";
};
buildInputs = [ libxcb perl ];
prePatch = ''sed -i "s@/usr@$out@" Makefile'';
meta = {
description = "A lightweight xcb based bar";
homepage = https://github.com/LemonBoy/bar;
maintainers = [ stdenv.lib.maintainers.meisternu ];
license = "Custom";
platforms = stdenv.lib.platforms.linux;
};
2014-08-09 23:31:05 +02:00
}