2015-12-07 10:26:55 +01:00
|
|
|
{ stdenv, fetchzip, gtk, libnotify, unzip, glib, pkgconfig }:
|
2015-03-16 09:42:12 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "cbatticon-${version}";
|
|
|
|
version = "1.4.2";
|
|
|
|
|
2015-12-07 10:26:55 +01:00
|
|
|
src = fetchzip {
|
2015-03-16 09:42:12 +01:00
|
|
|
url = "https://github.com/valr/cbatticon/archive/${version}.zip";
|
2015-12-07 10:26:55 +01:00
|
|
|
sha256 = "0ixkxvlrn84b8nh75c9s2gvxnycis89mf047iz8j38814979di5l";
|
2015-03-16 09:42:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
|
|
|
|
buildInputs = [ gtk libnotify unzip glib pkgconfig ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A lightweight and fast battery icon that sits in your system tray";
|
|
|
|
homepage = https://github.com/valr/cbatticon;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.iElectric ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|