mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
add cbatticon
This commit is contained in:
parent
6e45fb5a55
commit
bd35fa526b
1 changed files with 24 additions and 0 deletions
24
pkgs/applications/misc/cbatticon/default.nix
Normal file
24
pkgs/applications/misc/cbatticon/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, fetchurl, gtk, libnotify, unzip, glib, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "cbatticon-${version}";
|
||||
version = "1.4.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/valr/cbatticon/archive/${version}.zip";
|
||||
sha256 = "1jkaar987ayydgghl8s8f1yy41mcmhqvgw897jv4y8yliskn0604";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue