qflipper: init at 0.5.3
This commit is contained in:
parent
deae59a278
commit
acf5047732
31
pkgs/tools/misc/qflipper/default.nix
Normal file
31
pkgs/tools/misc/qflipper/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib, fetchurl, appimageTools }:
|
||||||
|
|
||||||
|
let
|
||||||
|
pname = "qflipper";
|
||||||
|
version = "0.5.3";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://update.flipperzero.one/builds/qFlipper/${version}/qFlipper-x86_64-${version}.AppImage";
|
||||||
|
sha256 = "sha256-UFGFl1zb0t1y7FBd5EX1YS3npWM5slL/wLiTOF/CLNM=";
|
||||||
|
};
|
||||||
|
appimageContents = appimageTools.extractType2 { inherit name src; };
|
||||||
|
|
||||||
|
in appimageTools.wrapType2 {
|
||||||
|
inherit name src;
|
||||||
|
|
||||||
|
extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ [ pkgs.libsecret ];
|
||||||
|
|
||||||
|
extraInstallCommands = ''
|
||||||
|
mv $out/bin/${name} $out/bin/qFlipper
|
||||||
|
install -m 444 -D ${appimageContents}/qFlipper.desktop -t $out/share/applications
|
||||||
|
cp -r ${appimageContents}/usr/share/icons $out/share
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Cross-platform desktop tool to manage your flipper device";
|
||||||
|
homepage = "https://flipperzero.one/";
|
||||||
|
license = licenses.unfree;
|
||||||
|
maintainers = with maintainers; [ wolfangaukang ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -972,6 +972,8 @@ with pkgs;
|
||||||
|
|
||||||
pferd = callPackage ../tools/misc/pferd {};
|
pferd = callPackage ../tools/misc/pferd {};
|
||||||
|
|
||||||
|
qflipper = callPackage ../tools/misc/qflipper { };
|
||||||
|
|
||||||
quich = callPackage ../tools/misc/quich { } ;
|
quich = callPackage ../tools/misc/quich { } ;
|
||||||
|
|
||||||
redfang = callPackage ../tools/networking/redfang { };
|
redfang = callPackage ../tools/networking/redfang { };
|
||||||
|
|
Loading…
Reference in a new issue