1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/applications/misc/cbatticon/default.nix

29 lines
717 B
Nix
Raw Normal View History

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