mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
wootility: init at 3.3.3
Signed-off-by: David Wood <david.wood@codeplay.com>
This commit is contained in:
parent
4a0819805a
commit
47d402e4f7
32
pkgs/tools/misc/wootility/default.nix
Normal file
32
pkgs/tools/misc/wootility/default.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ appimageTools, fetchurl, lib, gsettings-desktop-schemas, gtk3, udev, wooting-udev-rules }:
|
||||
|
||||
let
|
||||
pname = "wootility";
|
||||
version = "3.3.3";
|
||||
in
|
||||
appimageTools.wrapType2 rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://s3.eu-west-2.amazonaws.com/wooting-update/wootility-linux-latest/wootility-${version}.AppImage";
|
||||
sha256 = "1qdiacwnvqahqkrhwnblz0jjywn63c6ndl3z450myhx5x55fdcja";
|
||||
};
|
||||
|
||||
profile = ''
|
||||
export LC_ALL=C.UTF-8
|
||||
export XDG_DATA_DIRS="${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk3}/share/gsettings-schemas/${gtk3.name}:$XDG_DATA_DIRS"
|
||||
'';
|
||||
|
||||
multiPkgs = extraPkgs;
|
||||
extraPkgs =
|
||||
pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) ++ ([ udev wooting-udev-rules ]);
|
||||
extraInstallCommands = "mv $out/bin/{${name},${pname}}";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://wooting.io/wootility;
|
||||
description = "Wootility is customization and management software for Wooting keyboards.";
|
||||
platforms = [ "x86_64-linux" ];
|
||||
license = "unknown";
|
||||
maintainers = with maintainers; [ davidtwco ];
|
||||
};
|
||||
}
|
|
@ -7078,6 +7078,8 @@ in
|
|||
|
||||
woof = callPackage ../tools/misc/woof { };
|
||||
|
||||
wootility = callPackage ../tools/misc/wootility { };
|
||||
|
||||
wpscan = callPackage ../tools/security/wpscan { };
|
||||
|
||||
wsmancli = callPackage ../tools/system/wsmancli {};
|
||||
|
|
Loading…
Reference in a new issue