mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
angryoxide: init at 0.8.32
This commit is contained in:
parent
fee2c0bcb4
commit
5aa70730ef
1 changed files with 59 additions and 0 deletions
59
pkgs/by-name/an/angryoxide/package.nix
Normal file
59
pkgs/by-name/an/angryoxide/package.nix
Normal file
|
@ -0,0 +1,59 @@
|
|||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
libxkbcommon,
|
||||
sqlite,
|
||||
zlib,
|
||||
wayland,
|
||||
}:
|
||||
|
||||
let
|
||||
libwifi = fetchFromGitHub {
|
||||
owner = "Ragnt";
|
||||
repo = "libwifi";
|
||||
rev = "71268e1898ad88b8b5d709e186836db417b33e81";
|
||||
hash = "sha256-2X/TZyLX9Tb54c6Sdla4bsWdq05NU72MVSuPvNfxySk=";
|
||||
};
|
||||
in
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "angryoxide";
|
||||
version = "0.8.32";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Ragnt";
|
||||
repo = "AngryOxide";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Sla5lvyqZho9JE4QVS9r0fx5+DVlU90c8OSfO4/f0B4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
rm -r libs/libwifi
|
||||
ln -s ${libwifi} libs/libwifi
|
||||
'';
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-mry4l0a7DZOWkrChU40OVRCBjKwI39cyZtvEBA5tro0=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libxkbcommon
|
||||
sqlite
|
||||
wayland
|
||||
zlib
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "802.11 Attack Tool";
|
||||
changelog = "https://github.com/Ragnt/AngryOxide/releases/tag/v${finalAttrs.version}";
|
||||
homepage = "https://github.com/Ragnt/AngryOxide/";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ fvckgrimm ];
|
||||
mainProgram = "angryoxide";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue