Skip to content

Commit

Permalink
Merge pull request #43927 from volth/xfce4-battery-plugin-1.1.0
Browse files Browse the repository at this point in the history
xfce4-13.xfce4-battery-plugin: init at 1.1.0
  • Loading branch information
xeji committed Jul 31, 2018
2 parents 0f3eaa0 + e87a1a5 commit 315a47d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
2 changes: 2 additions & 0 deletions pkgs/desktops/xfce4-13/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ makeScope newScope (self: with self; {

xfce4-appfinder = callPackage ./xfce4-appfinder { };

xfce4-battery-plugin = callPackage ./xfce4-battery-plugin { };

xfce4-dev-tools = callPackage ./xfce4-dev-tools {
mkXfceDerivation = mkXfceDerivation.override {
xfce4-dev-tools = null;
Expand Down
8 changes: 4 additions & 4 deletions pkgs/desktops/xfce4-13/mkXfceDerivation.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, fetchgit, pkgconfig, xfce4-dev-tools ? null }:
{ stdenv, fetchgit, pkgconfig, xfce4-dev-tools, hicolor-icon-theme }:

{ category, pname, sha256 ? null, version, ... } @ args:
{ category, pname, version, rev ? "${pname}-${version}", sha256, ... } @ args:

let
inherit (builtins) filter getAttr head isList;
Expand All @@ -16,12 +16,12 @@ let
name = "${pname}-${version}";

nativeBuildInputs = [ pkgconfig xfce4-dev-tools ];
buildInputs = [ hicolor-icon-theme ];
configureFlags = [ "--enable-maintainer-mode" ];

src = fetchgit {
url = "git://git.xfce.org/${category}/${pname}";
rev = name;
inherit sha256;
inherit rev sha256;
};

enableParallelBuilding = true;
Expand Down
11 changes: 11 additions & 0 deletions pkgs/desktops/xfce4-13/xfce4-battery-plugin/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{ mkXfceDerivation, gtk3, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:

mkXfceDerivation rec {
category = "panel-plugins";
pname = "xfce4-battery-plugin";
version = "1.1.0";
rev = version;
sha256 = "0mz0lj3wjrsj9n4wcqrvv08430g38nkjbdimxdy8316n6bqgngfn";

buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ];
}

0 comments on commit 315a47d

Please sign in to comment.