mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
parent
ac39ba7953
commit
28bf9caca2
@ -10,6 +10,12 @@ stdenv.mkDerivation rec {
|
||||
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
|
||||
sha256 = "1sc4f4wci5yl3l9lk7vcsbwj6hdjshbxw9qm43s64jr882jriyyp";
|
||||
};
|
||||
|
||||
brightness_patch = fetchurl {
|
||||
url = "http://git.xfce.org/xfce/xfce4-power-manager/patch/?id=05d12e12596512f7a31d3cdb4845a69dc2d4c611";
|
||||
sha256 = "0rbldvjwpj93hx59xrmvbdql1pgkbqzjh4vp6gkavn4z6sv535v8";
|
||||
};
|
||||
|
||||
name = "${p_name}-${ver_maj}.${ver_min}";
|
||||
|
||||
buildInputs =
|
||||
@ -18,6 +24,8 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
|
||||
|
||||
patches = [ brightness_patch ];
|
||||
|
||||
meta = {
|
||||
homepage = http://goodies.xfce.org/projects/applications/xfce4-power-manager;
|
||||
description = "A power manager for the Xfce Desktop Environment";
|
||||
|
Loading…
Reference in New Issue
Block a user