2016-03-30 16:34:54 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, gettext, glib, gtk3, libnotify }:
|
2015-03-16 09:42:12 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "cbatticon-${version}";
|
2017-08-15 13:32:12 +02:00
|
|
|
version = "1.6.6";
|
2015-03-16 09:42:12 +01:00
|
|
|
|
2016-03-30 16:34:54 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "valr";
|
|
|
|
repo = "cbatticon";
|
|
|
|
rev = version;
|
2017-08-15 13:32:12 +02:00
|
|
|
sha256 = "0gphijkjmg5q349ffhnx12dppg6hajkr90n0x5b6s9cad5b4q0kq";
|
2015-03-16 09:42:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
|
2016-03-30 16:34:54 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig gettext ];
|
|
|
|
|
|
|
|
buildInputs = [ glib gtk3 libnotify ];
|
2015-03-16 09:42:12 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-03-30 16:34:54 +02:00
|
|
|
description = "Lightweight and fast battery icon that sits in the system tray";
|
2015-03-16 09:42:12 +01:00
|
|
|
homepage = https://github.com/valr/cbatticon;
|
|
|
|
license = licenses.gpl2;
|
2016-05-17 13:57:28 +02:00
|
|
|
maintainers = [ maintainers.domenkozar ];
|
2015-03-16 09:42:12 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|