depot/third_party/nixpkgs/pkgs/tools/networking/pixiewps/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

25 lines
628 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "pixiewps";
version = "1.4.2";
src = fetchFromGitHub {
owner = "wiire-a";
repo = "pixiewps";
rev = "v${version}";
sha256 = "sha256-cJ20Gp6YaSdgUXK/ckK5Yv0rGbGXuFMP5zKZG0c4oOY=";
};
preBuild = ''
substituteInPlace Makefile --replace "/usr/local" "$out"
'';
meta = {
description = "Offline WPS bruteforce utility";
homepage = "https://github.com/wiire-a/pixiewps";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.nico202 ];
platforms = lib.platforms.all;
mainProgram = "pixiewps";
};
}