mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Merge pull request #9199 from hiberno/add-bar-xft
bar-xft: initial commit.
This commit is contained in:
commit
af12334ec9
26
pkgs/applications/window-managers/bar/xft.nix
Normal file
26
pkgs/applications/window-managers/bar/xft.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -10775,6 +10775,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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user