nixpkgs/pkgs/desktops/lxqt/core/lxqt-powermanagement/default.nix
2017-02-27 11:49:09 -06:00

41 lines
933 B
Nix

{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, solid, kidletime, liblxqt, libqtxdg }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "lxqt-powermanagement";
version = "0.11.1";
srcs = fetchFromGitHub {
owner = "lxde";
repo = pname;
rev = version;
sha256 = "0rcjq20ap6kc3m1f2glb8c62qhsx8qh0rkzlj3rykdj6n4hc0x79";
};
nativeBuildInputs = [
cmake
lxqt-build-tools
];
buildInputs = [
qtbase
qttools
qtx11extras
qtsvg
kwindowsystem
solid
kidletime
liblxqt
libqtxdg
];
cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ];
meta = with stdenv.lib; {
description = "Power management module for LXQt";
homepage = https://github.com/lxde/lxqt-powermanagement;
license = licenses.lgpl21;
platforms = with platforms; unix;
maintainers = with maintainers; [ romildo ];
};
}