diff options
author | Christian Lask <christian@hiberno.net> | 2016-06-02 08:42:35 +0200 |
---|---|---|
committer | obadz <obadz-git@obadz.com> | 2016-06-08 16:59:29 +0100 |
commit | 093c42161fe2f6730c1379c45bbd990de887284f (patch) | |
tree | 98b189f47b2cd95a6ee18db6d9087deb69e9a454 /pkgs/applications/window-managers/yabar | |
parent | 2e6b257edf66dcc7b7a31b59b5215a8e42ba4529 (diff) | |
download | nixpkgs-093c42161fe2f6730c1379c45bbd990de887284f.tar nixpkgs-093c42161fe2f6730c1379c45bbd990de887284f.tar.gz nixpkgs-093c42161fe2f6730c1379c45bbd990de887284f.tar.bz2 nixpkgs-093c42161fe2f6730c1379c45bbd990de887284f.tar.lz nixpkgs-093c42161fe2f6730c1379c45bbd990de887284f.tar.xz nixpkgs-093c42161fe2f6730c1379c45bbd990de887284f.tar.zst nixpkgs-093c42161fe2f6730c1379c45bbd990de887284f.zip |
yabar: init at 0.4.0
Closes #15945
Diffstat (limited to 'pkgs/applications/window-managers/yabar')
-rw-r--r-- | pkgs/applications/window-managers/yabar/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/yabar/default.nix b/pkgs/applications/window-managers/yabar/default.nix new file mode 100644 index 00000000000..2f4a7f0e06c --- /dev/null +++ b/pkgs/applications/window-managers/yabar/default.nix @@ -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; + }; +} |