mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
parent
2e6b257edf
commit
093c42161f
37
pkgs/applications/window-managers/yabar/default.nix
Normal file
37
pkgs/applications/window-managers/yabar/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ stdenv, fetchFromGitHub, cairo, gdk_pixbuf, libconfig, pango, pkgconfig, xcbutilwm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "yabar-${version}";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "geommer";
|
||||
repo = "yabar";
|
||||
rev = "746387f0112f9b7aa2e2e27b3d69cb2892d8c63b";
|
||||
sha256 = "1nw9dar1caqln5fr0dqk7dg6naazbpfwwzxwlkxz42shsc3w30a6";
|
||||
};
|
||||
|
||||
buildInputs = [ cairo gdk_pixbuf libconfig pango pkgconfig xcbutilwm ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace ./Makefile --replace "\$(shell git describe)" "${version}"
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
make DESTDIR=$out PREFIX=/
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
make DESTDIR=$out PREFIX=/ install
|
||||
mkdir -p $out/share/yabar/examples
|
||||
cp -v examples/*.config $out/share/yabar/examples
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A modern and lightweight status bar for X window managers";
|
||||
homepage = "https://github.com/geommer/yabar";
|
||||
maintainers = [ maintainers.hiberno ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -14906,6 +14906,8 @@ in
|
||||
|
||||
xzgv = callPackage ../applications/graphics/xzgv { };
|
||||
|
||||
yabar = callPackage ../applications/window-managers/yabar { };
|
||||
|
||||
yate = callPackage ../applications/misc/yate { };
|
||||
|
||||
inherit (gnome3) yelp;
|
||||
|
Loading…
Reference in New Issue
Block a user