nixpkgs/pkgs/applications/misc/cbatticon/default.nix
José Romildo Malaquias 11d09c91c5 cbatticon: 1.4.2 -> 1.6.4
2016-03-30 14:39:33 -03:00

29 lines
716 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, gettext, glib, gtk3, libnotify }:
stdenv.mkDerivation rec {
name = "cbatticon-${version}";
version = "1.6.4";
src = fetchFromGitHub {
owner = "valr";
repo = "cbatticon";
rev = version;
sha256 = "0m3bj408mbini97kq0cdf048lnfkdn7bd8ikbfijd7dwfdzv27i5";
};
makeFlags = "PREFIX=$(out)";
nativeBuildInputs = [ pkgconfig gettext ];
buildInputs = [ glib gtk3 libnotify ];
meta = with stdenv.lib; {
description = "Lightweight and fast battery icon that sits in the system tray";
homepage = https://github.com/valr/cbatticon;
license = licenses.gpl2;
maintainers = [ maintainers.iElectric ];
platforms = platforms.linux;
};
}