uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
59
pkgs/desktops/lxqt/lxqt-admin/default.nix
Normal file
59
pkgs/desktops/lxqt/lxqt-admin/default.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{ lib
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, lxqt-build-tools
|
||||
, qtx11extras
|
||||
, qttools
|
||||
, qtsvg
|
||||
, kwindowsystem
|
||||
, liblxqt
|
||||
, libqtxdg
|
||||
, polkit-qt
|
||||
, lxqtUpdateScript
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "lxqt-admin";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lxqt";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "A5dpw/vG92tC4W1q1wpDyMdRn1ScEH7m287MCEGOp9w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
lxqt-build-tools
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtx11extras
|
||||
qttools
|
||||
qtsvg
|
||||
kwindowsystem
|
||||
liblxqt
|
||||
libqtxdg
|
||||
polkit-qt
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
for f in lxqt-admin-{time,user}/CMakeLists.txt; do
|
||||
substituteInPlace $f --replace \
|
||||
"\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}" \
|
||||
"$out/share/polkit-1/actions"
|
||||
done
|
||||
'';
|
||||
|
||||
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/lxqt/lxqt-admin";
|
||||
description = "LXQt system administration tool";
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.lxqt.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue