mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
lxqt-powermanagement: 0.11.1 -> 0.12.0
This commit is contained in:
parent
644938aee9
commit
f50e270076
@ -3,13 +3,13 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "lxqt-powermanagement";
|
pname = "lxqt-powermanagement";
|
||||||
version = "0.11.1";
|
version = "0.12.0";
|
||||||
|
|
||||||
srcs = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lxde";
|
owner = "lxde";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0rcjq20ap6kc3m1f2glb8c62qhsx8qh0rkzlj3rykdj6n4hc0x79";
|
sha256 = "1fxklxmvjaykdpf0nj6cpgwx4yf52087g25k1zdak9n0l9n7hm8d";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -31,6 +31,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace autostart/CMakeLists.txt \
|
||||||
|
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Power management module for LXQt";
|
description = "Power management module for LXQt";
|
||||||
homepage = https://github.com/lxde/lxqt-powermanagement;
|
homepage = https://github.com/lxde/lxqt-powermanagement;
|
||||||
|
Loading…
Reference in New Issue
Block a user