depot/third_party/nixpkgs/pkgs/tools/networking/pixiewps/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

25 lines
631 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 = "An 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";
};
}