1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/applications/window-managers/bar/default.nix
2015-08-08 23:55:28 +02:00

26 lines
647 B
Nix

{ stdenv, fetchurl, perl, libxcb }:
let
version = "1.1";
in
stdenv.mkDerivation rec {
name = "bar-${version}";
src = fetchurl {
url = "https://github.com/LemonBoy/bar/archive/v${version}.tar.gz";
sha256 = "171ciw676cvj80zzbqfbg9nwix36zph0683zmqf279q9b9bmayan";
};
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;
};
}