1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

xfce4-13.xfce4-battery-plugin: init at 1.1.0

This commit is contained in:
volth 2018-07-21 21:00:53 +00:00
parent 7ffed91faf
commit b07de4c7c2
3 changed files with 18 additions and 4 deletions

View file

@ -44,6 +44,8 @@ makeScope newScope (self: with self; {
xfce4-appfinder = callPackage ./xfce4-appfinder { }; xfce4-appfinder = callPackage ./xfce4-appfinder { };
xfce4-battery-plugin = callPackage ./xfce4-battery-plugin { };
xfce4-dev-tools = callPackage ./xfce4-dev-tools { xfce4-dev-tools = callPackage ./xfce4-dev-tools {
mkXfceDerivation = mkXfceDerivation.override { mkXfceDerivation = mkXfceDerivation.override {
xfce4-dev-tools = null; xfce4-dev-tools = null;

View file

@ -1,6 +1,6 @@
{ stdenv, fetchgit, pkgconfig, xfce4-dev-tools ? null }: { stdenv, fetchgit, pkgconfig, xfce4-dev-tools }:
{ category, pname, sha256 ? null, version, ... } @ args: { category, pname, version, rev ? "${pname}-${version}", sha256, ... } @ args:
let let
inherit (builtins) filter getAttr head isList; inherit (builtins) filter getAttr head isList;
@ -20,13 +20,14 @@ let
src = fetchgit { src = fetchgit {
url = "git://git.xfce.org/${category}/${pname}"; url = "git://git.xfce.org/${category}/${pname}";
rev = name; inherit rev sha256;
inherit sha256;
}; };
enableParallelBuilding = true; enableParallelBuilding = true;
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
preFixup = ''rm $out/share/icons/hicolor/icon-theme.cache || true'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://git.xfce.org/${category}/${pname}/about"; homepage = "https://git.xfce.org/${category}/${pname}/about";
license = licenses.gpl2; # some libraries are under LGPLv2+ license = licenses.gpl2; # some libraries are under LGPLv2+

View file

@ -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 ];
}