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
31
pkgs/os-specific/linux/wpa_supplicant/gui.nix
Normal file
31
pkgs/os-specific/linux/wpa_supplicant/gui.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, mkDerivation, fetchpatch, qtbase, qmake, inkscape, imagemagick, wpa_supplicant }:
|
||||
|
||||
mkDerivation {
|
||||
pname = "wpa_gui";
|
||||
inherit (wpa_supplicant) version src;
|
||||
|
||||
buildInputs = [ qtbase ];
|
||||
nativeBuildInputs = [ qmake inkscape imagemagick ];
|
||||
|
||||
postPatch = ''
|
||||
cd wpa_supplicant/wpa_gui-qt4
|
||||
'';
|
||||
|
||||
postBuild = ''
|
||||
make -C icons
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -pv $out/{bin,share/applications,share/icons}
|
||||
cp -v wpa_gui $out/bin
|
||||
cp -v wpa_gui.desktop $out/share/applications
|
||||
cp -av icons/hicolor $out/share/icons
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Qt-based GUI for wpa_supplicant";
|
||||
homepage = "https://hostap.epitest.fi/wpa_supplicant/";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue