From b48640c5a5c628a29faddaef8b10c3391f0cd084 Mon Sep 17 00:00:00 2001 From: hiberno Date: Wed, 12 Aug 2015 19:05:19 +0200 Subject: [PATCH] bar-xft: init at version 2015-07-23 This a fork of the `bar` by lemonboy with support for xft. --- pkgs/applications/window-managers/bar/xft.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/window-managers/bar/xft.nix diff --git a/pkgs/applications/window-managers/bar/xft.nix b/pkgs/applications/window-managers/bar/xft.nix new file mode 100644 index 000000000000..c671f1a4e037 --- /dev/null +++ b/pkgs/applications/window-managers/bar/xft.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchgit, perl, libxcb, libXft }: + +let + version = "2015-07-23"; +in + stdenv.mkDerivation rec { + name = "bar-xft-git-${version}"; + + src = fetchgit { + url = "https://github.com/krypt-n/bar"; + rev = "020a3e1848ce03287886e9ff80b0b443e9aed543"; + sha256 = "1xzs37syhlwyjfxnk36qnij5bqa0mi53lf1k851viw4qai2bfkgr"; + }; + + buildInputs = [ libxcb libXft perl ]; + + prePatch = ''sed -i "s@/usr@$out@" Makefile''; + + meta = { + description = "A lightweight xcb based bar with XFT-support"; + homepage = https://github.com/krypt-n/bar; + maintainers = [ stdenv.lib.maintainers.hiberno ]; + license = "Custom"; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9bf619201af7..ebc0403a2343 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10769,6 +10769,8 @@ let bar = callPackage ../applications/window-managers/bar { }; + bar-xft = callPackage ../applications/window-managers/bar/xft.nix { }; + baresip = callPackage ../applications/networking/instant-messengers/baresip { ffmpeg = ffmpeg_1; };