nixpkgs/pkgs/applications/misc/cbatticon/default.nix
R. RyanTM 277e123b1a cbatticon: 1.6.7 -> 1.6.8 (#38747)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/cbatticon/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/b9f5y9awpbx1m193hrb57bwv70xg08cb-cbatticon-1.6.8/bin/cbatticon -h’ got 0 exit code
- ran ‘/nix/store/b9f5y9awpbx1m193hrb57bwv70xg08cb-cbatticon-1.6.8/bin/cbatticon --help’ got 0 exit code
- ran ‘/nix/store/b9f5y9awpbx1m193hrb57bwv70xg08cb-cbatticon-1.6.8/bin/cbatticon -v’ and found version 1.6.8
- ran ‘/nix/store/b9f5y9awpbx1m193hrb57bwv70xg08cb-cbatticon-1.6.8/bin/cbatticon --version’ and found version 1.6.8
- found 1.6.8 with grep in /nix/store/b9f5y9awpbx1m193hrb57bwv70xg08cb-cbatticon-1.6.8
- directory tree listing: https://gist.github.com/248717637ae5df50bb8a3da4134c627b
2018-04-14 21:27:52 +02:00

29 lines
717 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, gettext, glib, gtk3, libnotify }:
stdenv.mkDerivation rec {
name = "cbatticon-${version}";
version = "1.6.8";
src = fetchFromGitHub {
owner = "valr";
repo = "cbatticon";
rev = version;
sha256 = "16g26vin1693dbdr9qsnw36fdchx394lp79gvp7gcbw0w1ny9av6";
};
makeFlags = "PREFIX=$(out)";
nativeBuildInputs = [ pkgconfig gettext ];
buildInputs = [ glib gtk3 libnotify ];
meta = with stdenv.lib; {
description = "Lightweight and fast battery icon that sits in the system tray";
homepage = https://github.com/valr/cbatticon;
license = licenses.gpl2;
maintainers = [ maintainers.domenkozar ];
platforms = platforms.linux;
};
}