nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

add cbatticon

+24
+24
pkgs/applications/misc/cbatticon/default.nix
··· 1 + { stdenv, fetchurl, gtk, libnotify, unzip, glib, pkgconfig }: 2 + 3 + stdenv.mkDerivation rec { 4 + 5 + name = "cbatticon-${version}"; 6 + version = "1.4.2"; 7 + 8 + src = fetchurl { 9 + url = "https://github.com/valr/cbatticon/archive/${version}.zip"; 10 + sha256 = "1jkaar987ayydgghl8s8f1yy41mcmhqvgw897jv4y8yliskn0604"; 11 + }; 12 + 13 + makeFlags = "PREFIX=$(out)"; 14 + 15 + buildInputs = [ gtk libnotify unzip glib pkgconfig ]; 16 + 17 + meta = with stdenv.lib; { 18 + description = "A lightweight and fast battery icon that sits in your system tray"; 19 + homepage = https://github.com/valr/cbatticon; 20 + license = licenses.gpl2; 21 + maintainers = [ maintainers.iElectric ]; 22 + platforms = platforms.linux; 23 + }; 24 + }